Clear the destination page for bitmap loading, this fixes graphics artifacts in Kyra1 amiga.

svn-id: r43189
This commit is contained in:
Johannes Schickel 2009-08-09 23:32:52 +00:00
parent 5a7f85fbf6
commit 738c51f88f

View File

@ -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;