aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agos/res_ami.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/agos/res_ami.cpp b/engines/agos/res_ami.cpp
index ccebab7554..6e4675f063 100644
--- a/engines/agos/res_ami.cpp
+++ b/engines/agos/res_ami.cpp
@@ -135,7 +135,8 @@ byte *AGOSEngine::convertImage(VC10_state *state, bool compressed) {
uint8 colorDepth = 4;
if (getGameType() == GType_SIMON1) {
- if (((_lockWord & 0x20) && !state->palette) || (getFeatures() & GF_32COLOR)) {
+ if (((_lockWord & 0x20) && !state->palette) || ((getFeatures() & GF_32COLOR) &&
+ state->palette != 0xC0)) {
colorDepth = 5;
}
}