diff options
author | James Brown | 2002-05-03 18:05:33 +0000 |
---|---|---|
committer | James Brown | 2002-05-03 18:05:33 +0000 |
commit | 9419cef7a1826fb59aba5cfa7d36107a8cf93187 (patch) | |
tree | 229bd4066a5e1d0e8ec45aa72c43cb14b88bc8ed | |
parent | b591920ea91b60e895ceb13d32709269496ccd8c (diff) | |
download | scummvm-rg350-9419cef7a1826fb59aba5cfa7d36107a8cf93187.tar.gz scummvm-rg350-9419cef7a1826fb59aba5cfa7d36107a8cf93187.tar.bz2 scummvm-rg350-9419cef7a1826fb59aba5cfa7d36107a8cf93187.zip |
REALLY fix -m. For sure. Trust me. :)
svn-id: r4181
-rw-r--r-- | gameDetector.cpp | 3 | ||||
-rw-r--r-- | scummvm.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gameDetector.cpp b/gameDetector.cpp index ce233f908f..827a2b5bdc 100644 --- a/gameDetector.cpp +++ b/gameDetector.cpp @@ -463,6 +463,7 @@ int GameDetector::detectMain(int argc, char **argv) _gfx_mode = GFX_NORMAL; #endif _sfx_volume = 100; + _music_volume = 60; #if defined(USE_NULL_DRIVER) _gfx_driver = GD_NULL; @@ -493,7 +494,7 @@ int GameDetector::detectMain(int argc, char **argv) #else _saveconfig = false; updateconfig(); - parseCommandLine(argc, argv); + parseCommandLine(argc, argv); #endif if (_exe_name == NULL) { diff --git a/scummvm.cpp b/scummvm.cpp index d7b217bed7..4a40d6cb13 100644 --- a/scummvm.cpp +++ b/scummvm.cpp @@ -1395,7 +1395,8 @@ Scumm *Scumm::createFromDetector(GameDetector *detector, OSystem *syst) imuse->property(IMuse::PROP_MT32_EMULATE, detector->_mt32emulate); if (detector->_gameTempo != 0) imuse->property(IMuse::PROP_TEMPO_BASE, detector->_gameTempo); - + + imuse->set_music_volume(scumm->_sound_volume_music); scumm->_imuse = imuse; } |