aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/eobcommon.cpp
diff options
context:
space:
mode:
authorathrxx2012-02-14 18:31:33 +0100
committerathrxx2012-02-21 21:48:43 +0100
commitdf9b1bd2e4f70b3d9b2ad35ce806d0da4de253fe (patch)
tree2d8167796d7724aa641964bb5a8e5255caffb4a3 /engines/kyra/eobcommon.cpp
parenta4223e9c2ba7d53097df95a3f640ffdba7d0fb20 (diff)
downloadscummvm-rg350-df9b1bd2e4f70b3d9b2ad35ce806d0da4de253fe.tar.gz
scummvm-rg350-df9b1bd2e4f70b3d9b2ad35ce806d0da4de253fe.tar.bz2
scummvm-rg350-df9b1bd2e4f70b3d9b2ad35ce806d0da4de253fe.zip
KYRA: (EOB) - implement EGA graphics mode for EOB1
Diffstat (limited to 'engines/kyra/eobcommon.cpp')
-rw-r--r--engines/kyra/eobcommon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/eobcommon.cpp b/engines/kyra/eobcommon.cpp
index ecac20a7f8..9bec256ec7 100644
--- a/engines/kyra/eobcommon.cpp
+++ b/engines/kyra/eobcommon.cpp
@@ -390,7 +390,7 @@ Common::Error EoBCoreEngine::init() {
if (!_staticres->init())
error("_staticres->init() failed");
- if (!screen()->init())
+ if (!_screen->init(_flags.gameID == GI_EOB2 && _configRenderMode == Common::kRenderEGA))
error("screen()->init() failed");
if (ConfMan.hasKey("save_slot")) {