aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/tinsel/graphics.cpp5
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();
}