aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorLudvig Strigeus2002-04-15 18:07:56 +0000
committerLudvig Strigeus2002-04-15 18:07:56 +0000
commitc3b734f79c08436ac51f0a94afb055477c8be6c5 (patch)
tree3eee214d4dd3ebeea3f92cad7ef52a533e5ebb55 /main.cpp
parent18ee3f37e6fc51f3010b191f21f16617c64cb6fe (diff)
downloadscummvm-rg350-c3b734f79c08436ac51f0a94afb055477c8be6c5.tar.gz
scummvm-rg350-c3b734f79c08436ac51f0a94afb055477c8be6c5.tar.bz2
scummvm-rg350-c3b734f79c08436ac51f0a94afb055477c8be6c5.zip
command line option for sfx volume
svn-id: r3947
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index 4608b36cff..d838238d93 100644
--- a/main.cpp
+++ b/main.cpp
@@ -67,9 +67,10 @@ int main(int argc, char *argv[])
/* Simon the Sorcerer. Completely different initialization */
MidiDriver *midi = detector.createMidi();
- SimonState *simon = SimonState::create();
+ SimonState *simon = SimonState::create(system, midi);
simon->_game = detector._gameId - GID_SIMON_FIRST;
- simon->go(system, midi);
+ simon->set_volume(detector._sfx_volume);
+ simon->go();
} else {
Scumm *scumm = Scumm::createFromDetector(&detector, system);