aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/myst.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2013-08-22 20:37:16 -0400
committerMatthew Hoops2015-04-11 14:37:17 -0400
commita5992a08a02d86e33eb9c30dc8c6dd6fcb0bdf77 (patch)
treeab9e169d98fd25a2ac502ce17e42f091d3d8b24c /engines/mohawk/myst.cpp
parent94b317b0cd979bd924da14d8e3925c6c324692e6 (diff)
downloadscummvm-rg350-a5992a08a02d86e33eb9c30dc8c6dd6fcb0bdf77.tar.gz
scummvm-rg350-a5992a08a02d86e33eb9c30dc8c6dd6fcb0bdf77.tar.bz2
scummvm-rg350-a5992a08a02d86e33eb9c30dc8c6dd6fcb0bdf77.zip
MOHAWK: Run Myst in 8bpp
Diffstat (limited to 'engines/mohawk/myst.cpp')
-rw-r--r--engines/mohawk/myst.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp
index 7634e8d88a..b6a6c27329 100644
--- a/engines/mohawk/myst.cpp
+++ b/engines/mohawk/myst.cpp
@@ -413,7 +413,12 @@ void MohawkEngine_Myst::changeToStack(uint16 stack, uint16 card, uint16 linkSrcS
// Fill screen with black and empty cursor
_cursor->setCursor(0);
- _system->fillScreen(_system->getScreenFormat().RGBToColor(0, 0, 0));
+
+ if (getFeatures() & GF_ME)
+ _system->fillScreen(_system->getScreenFormat().RGBToColor(0, 0, 0));
+ else
+ _gfx->clearScreenPalette();
+
_system->updateScreen();
_sound->stopSound();
@@ -495,9 +500,10 @@ void MohawkEngine_Myst::changeToStack(uint16 stack, uint16 card, uint16 linkSrcS
_cache.clear();
_gfx->clearCache();
- // Play Flyby Entry Movie on Masterpiece Edition.
- const char *flyby = 0;
if (getFeatures() & GF_ME) {
+ // Play Flyby Entry Movie on Masterpiece Edition.
+ const char *flyby = 0;
+
switch (_curStack) {
case kSeleniticStack:
flyby = "selenitic flyby";