aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorTravis Howell2008-03-24 06:48:09 +0000
committerTravis Howell2008-03-24 06:48:09 +0000
commit59b0bf8fa152cede9c3fc27b36b138629050a086 (patch)
tree0b479efbee85e61b1bbc8109b9af572aa3a8e289 /engines/agos
parent47ad2487b4bd46fcb3ad249710b7bfca01744e3e (diff)
downloadscummvm-rg350-59b0bf8fa152cede9c3fc27b36b138629050a086.tar.gz
scummvm-rg350-59b0bf8fa152cede9c3fc27b36b138629050a086.tar.bz2
scummvm-rg350-59b0bf8fa152cede9c3fc27b36b138629050a086.zip
Correct background color when displaying saved game list in Amiga versions of Simon the Sorcerer 1.
svn-id: r31230
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/window.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/agos/window.cpp b/engines/agos/window.cpp
index a9331bbc40..f59af0daaa 100644
--- a/engines/agos/window.cpp
+++ b/engines/agos/window.cpp
@@ -77,6 +77,9 @@ WindowBlock *AGOSEngine::openWindow(uint x, uint y, uint w, uint h, uint flags,
if (getGameType() == GType_ELVIRA1 || getGameType() == GType_ELVIRA2 || getGameType() == GType_WW)
clearWindow(window);
+ if (getGameType() == GType_SIMON1 && getPlatform() == Common::kPlatformAmiga && window->fill_color == 225)
+ window->fill_color = (getFeatures() & GF_32COLOR) ? 17 : 241;
+
return window;
}