aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2019-09-29 16:57:44 +0200
committerEugene Sandulenko2019-09-29 16:57:44 +0200
commit7f7730bd7f6f32efe9ea8bba9f6de0d73c2a0cd3 (patch)
treec98c93d182e29e103a26786279ac99a9f78237c6 /engines
parent2da99ab0dc8f71d00f89f0a45e4149844a17f037 (diff)
downloadscummvm-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.cpp4
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) {