aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kmisc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/engine/kmisc.cpp')
-rw-r--r--engines/sci/engine/kmisc.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/sci/engine/kmisc.cpp b/engines/sci/engine/kmisc.cpp
index 6c5dcd16a9..af3b7bbd00 100644
--- a/engines/sci/engine/kmisc.cpp
+++ b/engines/sci/engine/kmisc.cpp
@@ -648,7 +648,11 @@ reg_t kPlatform32(EngineState *s, int argc, reg_t *argv) {
error("Unknown platform %d", g_sci->getPlatform());
}
case kGetColorDepth:
- return make_reg(0, /* 256 color */ 2);
+ if (g_sci->getGameId() == GID_PHANTASMAGORIA2) {
+ return make_reg(0, /* 16-bit color */ 3);
+ } else {
+ return make_reg(0, /* 256 color */ 2);
+ }
case kGetCDSpeed:
// The value `4` comes from Rama DOS resource.cfg installed in DOSBox,
// and seems to correspond to the highest expected CD speed value