aboutsummaryrefslogtreecommitdiff
path: root/simon/simon.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-05-21 11:49:41 +0000
committerTravis Howell2003-05-21 11:49:41 +0000
commit1294eb35c773c195633474dc2fbb8812f4b949a6 (patch)
treee0eeac2563ddf835bd7bd8ac8151bb29ae315c6a /simon/simon.cpp
parentc062b734222587763f2a84754006a4ba77421c66 (diff)
downloadscummvm-rg350-1294eb35c773c195633474dc2fbb8812f4b949a6.tar.gz
scummvm-rg350-1294eb35c773c195633474dc2fbb8812f4b949a6.tar.bz2
scummvm-rg350-1294eb35c773c195633474dc2fbb8812f4b949a6.zip
Set midi vars to -1 by default to prevent simon2dos trying to load music during copy protection
Correct vc_62 so it is closer to diasm. svn-id: r7780
Diffstat (limited to 'simon/simon.cpp')
-rw-r--r--simon/simon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 29269a7657..2b1da0fab1 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -322,8 +322,8 @@ SimonState::SimonState(GameDetector *detector, OSystem *syst)
_video_var_9 = 0;
_midi_sfx = 0;
- _last_music_played = 0;
- _next_music_to_play = 0;
+ _last_music_played = -1;
+ _next_music_to_play = -1;
_show_preposition = 0;
_showmessage_flag = 0;