diff options
Diffstat (limited to 'engines/zvision')
-rw-r--r-- | engines/zvision/zvision.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/engines/zvision/zvision.cpp b/engines/zvision/zvision.cpp index 848cba0f66..5b6d63e869 100644 --- a/engines/zvision/zvision.cpp +++ b/engines/zvision/zvision.cpp @@ -185,9 +185,15 @@ void ZVision::initialize() { _searchManager->addDir("addon"); if (_gameDescription->gameId == GID_GRANDINQUISITOR) { - _searchManager->loadZix("INQUIS.ZIX"); - } else if (_gameDescription->gameId == GID_NEMESIS) - _searchManager->loadZix("NEMESIS.ZIX"); + if (!_searchManager->loadZix("INQUIS.ZIX")) + error("Unable to load the game ZIX file"); + } else if (_gameDescription->gameId == GID_NEMESIS) { + if (!_searchManager->loadZix("NEMESIS.ZIX")) { + // The game might not be installed, try MEDIUM.ZIX instead + if (!_searchManager->loadZix("ZNEMSCR/MEDIUM.ZIX")) + error("Unable to load the game ZIX file"); + } + } initScreen(); |