diff options
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r-- | engines/sci/sci.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index 05752dac03..64c721cdb8 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -181,7 +181,11 @@ Common::Error SciEngine::run() { _features = new GameFeatures(segMan, _kernel); _gamestate = new EngineState(_vocabulary, segMan); - _gamestate->_event = new SciEvent(_resMan); + + // Detect extended font used in multilingual games + bool fontIsExtended = _resMan->detectFontExtended(); + + _gamestate->_event = new SciEvent(fontIsExtended); if (script_init_engine(_gamestate)) return Common::kUnknownError; @@ -198,7 +202,7 @@ Common::Error SciEngine::run() { } else { #endif _gfxPorts = new GfxPorts(segMan, screen); - _gui = new SciGui(_gamestate, screen, palette, cache, cursor, _gfxPorts, _audio); + _gui = new SciGui(_gamestate, screen, palette, cache, cursor, _gfxPorts, _audio, fontIsExtended); #ifdef ENABLE_SCI32 _gui32 = 0; _gfxFrameout = 0; |