aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/scumm.cpp
diff options
context:
space:
mode:
authorTravis Howell2009-06-05 10:13:19 +0000
committerTravis Howell2009-06-05 10:13:19 +0000
commitccee18a489ece14c499c4e0c43aeb7fc216451fb (patch)
tree09036d564bb5ae07798c97e9eb1c8d6071351f07 /engines/scumm/scumm.cpp
parent9789ba7f28d2c0a093adda01435306f28e91fede (diff)
downloadscummvm-rg350-ccee18a489ece14c499c4e0c43aeb7fc216451fb.tar.gz
scummvm-rg350-ccee18a489ece14c499c4e0c43aeb7fc216451fb.tar.bz2
scummvm-rg350-ccee18a489ece14c499c4e0c43aeb7fc216451fb.zip
Cleanup.
svn-id: r41195
Diffstat (limited to 'engines/scumm/scumm.cpp')
-rw-r--r--engines/scumm/scumm.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index 17ffc6e5b0..022eba1e5b 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -109,7 +109,9 @@ ScummEngine::ScummEngine(OSystem *syst, const DetectorResult &dr)
_currentScript(0xFF), // Let debug() work on init stage
_messageDialog(0), _pauseDialog(0), _scummMenuDialog(0), _versionDialog(0) {
- if (_game.platform == Common::kPlatformNES) {
+ if (_game.features & GF_16BIT_COLOR) {
+ _gdi = new Gdi16Bit(this);
+ } else if (_game.platform == Common::kPlatformNES) {
_gdi = new GdiNES(this);
} else if (_game.version <= 1) {
_gdi = new GdiV1(this);