diff options
author | Filippos Karapetis | 2013-05-01 03:53:00 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-05-01 03:53:00 +0300 |
commit | f3f3d5bcbf949cff514e58dc1f2b0c1d4e743cab (patch) | |
tree | ed5e0a23cfdce5e36a515ed483fe3ea41566770a /engines | |
parent | 5692c378ec5338b0bc977acd27945114f6f57537 (diff) | |
download | scummvm-rg350-f3f3d5bcbf949cff514e58dc1f2b0c1d4e743cab.tar.gz scummvm-rg350-f3f3d5bcbf949cff514e58dc1f2b0c1d4e743cab.tar.bz2 scummvm-rg350-f3f3d5bcbf949cff514e58dc1f2b0c1d4e743cab.zip |
TINSEL: Clear the screen with the correct color in DW1 Mac
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tinsel/graphics.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/tinsel/graphics.cpp b/engines/tinsel/graphics.cpp index ef8a10221b..5dae984def 100644 --- a/engines/tinsel/graphics.cpp +++ b/engines/tinsel/graphics.cpp @@ -797,9 +797,10 @@ static void PackedWrtNonZero(DRAWOBJECT *pObj, uint8 *srcP, uint8 *destP, * Clears both the screen surface buffer and screen to the specified value */ void ClearScreen() { + byte blackColorIndex = (!TinselV1Mac) ? 0 : 255; void *pDest = _vm->screen().getBasePtr(0, 0); - memset(pDest, 0, SCREEN_WIDTH * SCREEN_HEIGHT); - g_system->fillScreen(0); + memset(pDest, blackColorIndex, SCREEN_WIDTH * SCREEN_HEIGHT); + g_system->fillScreen(blackColorIndex); g_system->updateScreen(); } |