aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sci.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r--engines/sci/sci.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index 0bd1f0cf81..f2f2c6e218 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -145,9 +145,11 @@ Common::Error SciEngine::run() {
return Common::kUnknownError;
#ifdef INCLUDE_OLDGFX
- // Gui change
- _gamestate->_gui = new SciGui(_gamestate, screen, palette, cursor); // new
- //_gamestate->_gui = new SciGui32(_gamestate, screen, palette, cursor); // old
+ #ifndef USE_OLDGFX
+ _gamestate->_gui = new SciGui(_gamestate, screen, palette, cursor); // new
+ #else
+ _gamestate->_gui = new SciGui32(_gamestate, screen, palette, cursor); // old
+ #endif
#else
_gamestate->_gui = new SciGui(_gamestate, screen, palette, cursor);
#endif