From f3f3d5bcbf949cff514e58dc1f2b0c1d4e743cab Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 1 May 2013 03:53:00 +0300 Subject: TINSEL: Clear the screen with the correct color in DW1 Mac --- engines/tinsel/graphics.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/tinsel') 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(); } -- cgit v1.2.3