mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 19:45:07 +00:00
Clear the destination page for bitmap loading, this fixes graphics artifacts in Kyra1 amiga.
svn-id: r43189
This commit is contained in:
parent
5a7f85fbf6
commit
738c51f88f
@ -2715,6 +2715,7 @@ void Screen::loadBitmap(const char *filename, int tempPage, int dstPage, Palette
|
||||
|
||||
uint8 *srcPtr = srcData + 10 + palSize;
|
||||
uint8 *dstData = getPagePtr(dstPage);
|
||||
memset(dstData, 0, SCREEN_PAGE_SIZE);
|
||||
if (dstPage == 0 || tempPage == 0)
|
||||
_forceFullUpdate = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user