diff options
Diffstat (limited to 'engines/sci/gui')
-rw-r--r-- | engines/sci/gui/gui_font.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_font.cpp b/engines/sci/gui/gui_font.cpp index 9e420cfb3a..3c6f552d5d 100644 --- a/engines/sci/gui/gui_font.cpp +++ b/engines/sci/gui/gui_font.cpp @@ -34,7 +34,11 @@ namespace Sci { SciGUIfont::SciGUIfont(EngineState *state, SciGUIscreen *screen, sciResourceId resourceId) : _s(state), _screen(screen), _resourceId(resourceId) { assert(resourceId != -1); - initData(resourceId); + if (_s->_gameName == "lsl1sci") { + // we remove upper bits for lsl1, because it wants to load font 2107 which is not available + _resourceId &= 0x7ff; + } + initData(_resourceId); } SciGUIfont::~SciGUIfont() { |