diff options
-rw-r--r-- | engines/hopkins/computer.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/hopkins/computer.cpp b/engines/hopkins/computer.cpp index e44b77c317..eef4a64f3e 100644 --- a/engines/hopkins/computer.cpp +++ b/engines/hopkins/computer.cpp @@ -75,11 +75,16 @@ void ComputerManager::setTextMode() { _vm->_graphicsManager.lockScreen(); _vm->_graphicsManager.clearScreen(); _vm->_graphicsManager.unlockScreen(); - //SET_MODE(SCREEN_WIDTH, SCREEN_HEIGHT); _vm->_graphicsManager._lineNbr = SCREEN_WIDTH; _vm->_globals.police = _vm->_globals.freeMemory(_vm->_globals.police); - _vm->_globals.police = _vm->_fileManager.loadFile("STFONT.SPR"); + + Common::String filename = "STFONT.SPR"; + Common::File f; + if (!f.exists(filename)) + filename = "FONTE.SPR"; // Used by the BeOS and OS/2 versions as an alternative + + _vm->_globals.police = _vm->_fileManager.loadFile(filename); _vm->_globals.police_l = 8; _vm->_globals.police_h = 8; _vm->_graphicsManager.loadImage("WINTEXT"); |