aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2003-08-15 14:41:28 +0000
committerTravis Howell2003-08-15 14:41:28 +0000
commit7d11516c9b164b28c8196d0f90dfc356072a0bfc (patch)
tree3783738e13e86d975d6e19922570f2d1c05a8ca7 /scumm
parent7e611160a9a0ad412e4e1e8d10b41902a88b7049 (diff)
downloadscummvm-rg350-7d11516c9b164b28c8196d0f90dfc356072a0bfc.tar.gz
scummvm-rg350-7d11516c9b164b28c8196d0f90dfc356072a0bfc.tar.bz2
scummvm-rg350-7d11516c9b164b28c8196d0f90dfc356072a0bfc.zip
Fix monkey2 missing sfx regression
svn-id: r9708
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scummvm.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index ecf9be2a0a..a4ef169695 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -1056,7 +1056,11 @@ void Scumm::initScummVars() {
case MD_ADLIB: VAR(VAR_SOUNDCARD) = 3; break;
case MD_PCSPK:
case MD_PCJR: VAR(VAR_SOUNDCARD) = 0; break;
- default: VAR(VAR_SOUNDCARD) = 4;
+ default:
+ if (_features & GF_SMALL_HEADER)
+ VAR(VAR_SOUNDCARD) = 5;
+ else
+ VAR(VAR_SOUNDCARD) = 3;
}
VAR(VAR_VIDEOMODE) = 0x13;
VAR(VAR_HEAPSPACE) = 1400;