diff options
author | Eugene Sandulenko | 2019-09-29 16:57:44 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-29 16:57:44 +0200 |
commit | 7f7730bd7f6f32efe9ea8bba9f6de0d73c2a0cd3 (patch) | |
tree | c98c93d182e29e103a26786279ac99a9f78237c6 /engines | |
parent | 2da99ab0dc8f71d00f89f0a45e4149844a17f037 (diff) | |
download | scummvm-rg350-7f7730bd7f6f32efe9ea8bba9f6de0d73c2a0cd3.tar.gz scummvm-rg350-7f7730bd7f6f32efe9ea8bba9f6de0d73c2a0cd3.tar.bz2 scummvm-rg350-7f7730bd7f6f32efe9ea8bba9f6de0d73c2a0cd3.zip |
MACVENTURE: Initialize engine variables earlier
Diffstat (limited to 'engines')
-rw-r--r-- | engines/macventure/macventure.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/macventure/macventure.cpp b/engines/macventure/macventure.cpp index 39740fdd6c..fb1ddc1b32 100644 --- a/engines/macventure/macventure.cpp +++ b/engines/macventure/macventure.cpp @@ -148,6 +148,8 @@ Common::Error MacVentureEngine::run() { debug("MacVenture::MacVentureEngine::init()"); initGraphics(kScreenWidth, kScreenHeight); + setInitialFlags(); + _debugger = new Console(this); // Additional setup. @@ -177,8 +179,6 @@ Common::Error MacVentureEngine::run() { _soundManager = new SoundManager(this, _mixer); - setInitialFlags(); - int directSaveSlotLoading = ConfMan.getInt("save_slot"); if (directSaveSlotLoading >= 0) { if (loadGameState(directSaveSlotLoading).getCode() != Common::kNoError) { |