aboutsummaryrefslogtreecommitdiff
path: root/sdl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sdl.cpp')
-rw-r--r--sdl.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/sdl.cpp b/sdl.cpp
index 39ad650219..2692fafea0 100644
--- a/sdl.cpp
+++ b/sdl.cpp
@@ -919,8 +919,15 @@ int main(int argc, char* argv[]) {
#endif
detecter.detectMain(argc, argv);
-
- scumm = new Scumm;
+
+
+ if( detecter._features & GF_AFTER_V7 ) // not final implementation. This is just a test
+ scumm = new Scumm_v7;
+ else
+ if( detecter._features & GF_OLD256 )
+ scumm = new Scumm_v3;
+ else
+ scumm = new Scumm;
scumm->_fullScreen = detecter._fullScreen;
scumm->_debugMode = detecter._debugMode;