diff options
author | md5 | 2011-03-01 12:22:19 +0200 |
---|---|---|
committer | md5 | 2011-03-01 12:22:19 +0200 |
commit | e99dcac2f6888cc23828dd0b95c92069976c5111 (patch) | |
tree | d62098213761f2096f62e972cb853cc73b15e988 | |
parent | 4a5b30e21f4c4158caf0e3e7b08cb379bb2cb8e7 (diff) | |
download | scummvm-rg350-e99dcac2f6888cc23828dd0b95c92069976c5111.tar.gz scummvm-rg350-e99dcac2f6888cc23828dd0b95c92069976c5111.tar.bz2 scummvm-rg350-e99dcac2f6888cc23828dd0b95c92069976c5111.zip |
AUDIO: Set default values for the MT-32 and GM device settings
This fixes the case where an MT-32 music type is erroneously returned with
the default GUI audio settings if an engine specifies MDT_PREFER_MT32. Many
thanks to wjp and fuzzie for their help and work on this
-rw-r--r-- | base/commandLine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/commandLine.cpp b/base/commandLine.cpp index 36218376c8..f920dd0170 100644 --- a/base/commandLine.cpp +++ b/base/commandLine.cpp @@ -178,6 +178,9 @@ void registerDefaults() { ConfMan.registerDefault("midi_gain", 100); // ConfMan.registerDefault("music_driver", ???); + ConfMan.registerDefault("mt32_device", "null"); + ConfMan.registerDefault("gm_device", "null"); + ConfMan.registerDefault("cdrom", 0); // Game specific |