diff options
Diffstat (limited to 'engines/mohawk/myst.cpp')
-rw-r--r-- | engines/mohawk/myst.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp index fe2ffd5879..91fa779eb9 100644 --- a/engines/mohawk/myst.cpp +++ b/engines/mohawk/myst.cpp @@ -1147,7 +1147,17 @@ void MohawkEngine_Myst::loadResources() { } void MohawkEngine_Myst::runLoadDialog() { - runDialog(*_loadDialog); + const Common::String gameId = ConfMan.get("gameid"); + + const EnginePlugin *plugin = 0; + EngineMan.findGame(gameId, &plugin); + + pauseEngine(true); + int slot = _loadDialog->runModalWithPluginAndTarget(plugin, ConfMan.getActiveDomainName()); + if (slot >= 0) { + // TODO + } + pauseEngine(false); } Common::Error MohawkEngine_Myst::loadGameState(int slot) { |