freebsd-ports/emulators/fs-uae/files/patch-src_od-win32_picasso96__win.cpp
Fernando Apesteguía 85fd2d1ca0 emulators/fs-uae: update to 2.8.4
While here:

* Add missing USES values

PR:     233386
Submitted by:   felix@palmen-it.de
Reviewed by:    johalun0@gmail.com, james.wright@jigsawdezign.com
Approved by:    tomse@oagd.net (maintainer, timeout)
2018-12-08 18:00:22 +00:00

11 lines
531 B
C++

--- src/od-win32/picasso96_win.cpp.orig 2017-01-24 16:58:57 UTC
+++ src/od-win32/picasso96_win.cpp
@@ -3300,7 +3300,7 @@ static uae_u32 REGPARAM2 picasso_BlitRec
if (NOBLITTER_BLIT)
return 0;
P96TRACE((_T("BlitRect(%d, %d, %d, %d, %d, %d, 0x%x)\n"), srcx, srcy, dstx, dsty, width, height, Mask));
- result = BlitRect (renderinfo, (uaecptr)NULL, srcx, srcy, dstx, dsty, width, height, Mask, BLIT_SRC);
+ result = BlitRect (renderinfo, (uaecptr)0, srcx, srcy, dstx, dsty, width, height, Mask, BLIT_SRC);
return result;
}