diff options
author | Travis Howell | 2008-04-11 08:12:22 +0000 |
---|---|---|
committer | Travis Howell | 2008-04-11 08:12:22 +0000 |
commit | 9f5eefdeec2904c8cf6a24a903c65c06a06f516b (patch) | |
tree | dd702802467625784d75a202548acfb6e1215ede /engines | |
parent | 829823c9a24ed0ca670528b03d33759119f2c7af (diff) | |
download | scummvm-rg350-9f5eefdeec2904c8cf6a24a903c65c06a06f516b.tar.gz scummvm-rg350-9f5eefdeec2904c8cf6a24a903c65c06a06f516b.tar.bz2 scummvm-rg350-9f5eefdeec2904c8cf6a24a903c65c06a06f516b.zip |
Correct VAR_SOUNDCARD setting for PC Speaker and list all modes for VAR_SOUNDCARD.
svn-id: r31482
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/vars.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/scumm/vars.cpp b/engines/scumm/vars.cpp index 6e40b58ae8..a71ff19b6e 100644 --- a/engines/scumm/vars.cpp +++ b/engines/scumm/vars.cpp @@ -694,12 +694,16 @@ void ScummEngine_v99he::resetScummVars() { void ScummEngine::resetScummVars() { if (_game.heversion < 70 && _game.version <= 6) { + // VAR_SOUNDCARD modes + // 0 PC Speaker + // 1 Tandy + // 2 CMS + // 3 Adlib + // 4 Roland switch (_musicType) { case MDT_NONE: - VAR(VAR_SOUNDCARD) = 0; - break; case MDT_PCSPK: - VAR(VAR_SOUNDCARD) = 1; + VAR(VAR_SOUNDCARD) = 0; break; case MDT_ADLIB: VAR(VAR_SOUNDCARD) = 3; |