diff options
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r-- | engines/sci/sci.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index c03b9dbc68..e01e0fdac0 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -209,7 +209,9 @@ Common::Error SciEngine::run() { assert(_gamestate->sys_strings->_strings[SYS_STRING_SAVEDIR]._value != 0); strcpy(_gamestate->sys_strings->_strings[SYS_STRING_SAVEDIR]._value, ""); - SciVersion soundVersion = _gamestate->detectDoSoundType(); + _gamestate->_features->setGameInfo(_gamestate->_gameObj, _gamestate->_gameId); + + SciVersion soundVersion = _gamestate->_features->detectDoSoundType(); _gamestate->_soundCmd = new SoundCommandParser(_resMan, segMan, _kernel, _audio, soundVersion); @@ -229,7 +231,7 @@ Common::Error SciEngine::run() { _gamestate->_gui32->init(); else #endif - _gamestate->_gui->init(_gamestate->usesOldGfxFunctions()); + _gamestate->_gui->init(_gamestate->_features->usesOldGfxFunctions()); debug("Emulating SCI version %s\n", getSciVersionDesc(getSciVersion()).c_str()); |