diff options
Diffstat (limited to 'engines/mohawk/riven.cpp')
-rw-r--r-- | engines/mohawk/riven.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp index 5ca49de944..00d0e5255f 100644 --- a/engines/mohawk/riven.cpp +++ b/engines/mohawk/riven.cpp @@ -31,6 +31,7 @@ #include "mohawk/cursors.h" #include "mohawk/graphics.h" +#include "mohawk/installer_archive.h" #include "mohawk/resource.h" #include "mohawk/riven.h" #include "mohawk/riven_external.h" @@ -108,6 +109,11 @@ GUI::Debugger *MohawkEngine_Riven::getDebugger() { Common::Error MohawkEngine_Riven::run() { MohawkEngine::run(); + // Let's try to open the installer file (it holds extras.mhk) + // Though, we set a low priority to prefer the extracted version + if (_installerArchive.open("arcriven.z")) + SearchMan.add("arcriven.z", &_installerArchive, 0, false); + _gfx = new RivenGraphics(this); _console = new RivenConsole(this); _saveLoad = new RivenSaveLoad(this, _saveFileMan); |