diff options
author | Max Horn | 2011-05-11 14:02:21 +0200 |
---|---|---|
committer | Max Horn | 2011-05-13 11:47:07 +0200 |
commit | 068b4a5351a5574dbfac6acff5776a0071f3f2dd (patch) | |
tree | b7f0cf1b0a946f84a34558eb44779e7551e662d9 /engines/scumm/scumm.cpp | |
parent | c9cef5e9711a33c5e8a0a442b336175df5ebb3c2 (diff) | |
download | scummvm-rg350-068b4a5351a5574dbfac6acff5776a0071f3f2dd.tar.gz scummvm-rg350-068b4a5351a5574dbfac6acff5776a0071f3f2dd.tar.bz2 scummvm-rg350-068b4a5351a5574dbfac6acff5776a0071f3f2dd.zip |
SCUMM: Move tmsk code into its own Gdi subclass
Diffstat (limited to 'engines/scumm/scumm.cpp')
-rw-r--r-- | engines/scumm/scumm.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp index b1198247d3..f5187546a1 100644 --- a/engines/scumm/scumm.cpp +++ b/engines/scumm/scumm.cpp @@ -112,7 +112,9 @@ ScummEngine::ScummEngine(OSystem *syst, const DetectorResult &dr) _currentScript(0xFF), // Let debug() work on init stage _messageDialog(0), _pauseDialog(0), _versionDialog(0) { - if (_game.platform == Common::kPlatformNES) { + if (_game.heversion > 0) { + _gdi = new GdiHE(this); + } else if (_game.platform == Common::kPlatformNES) { _gdi = new GdiNES(this); #ifdef USE_RGB_COLOR } else if (_game.features & GF_16BIT_COLOR) { |