aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/scumm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/scumm/scumm.cpp')
-rw-r--r--engines/scumm/scumm.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index ef258efbf4..c82bd30fcb 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -87,7 +87,11 @@ ScummEngine::ScummEngine(OSystem *syst, const DetectorResult &dr)
_currentScript(0xFF), // Let debug() work on init stage
_pauseDialog(0), _mainMenuDialog(0), _versionDialog(0) {
- _gdi = new Gdi(this);
+ if (_game.platform == Common::kPlatformNES) {
+ _gdi = new GdiNES(this);
+ } else {
+ _gdi = new Gdi(this);
+ }
_res = new ResourceManager(this);
// Copy MD5 checksum