Make it possible to disable digitalimuse by just commenting out it's

creation in scummvm.cpp

svn-id: r5162
This commit is contained in:
James Brown 2002-10-16 09:11:08 +00:00
parent 41b61adac0
commit 96c900f095

View file

@ -182,7 +182,8 @@ void Sound::playSound(int sound) {
ptr = _scumm->getResourceAddress(rtSound, sound);
if (ptr) {
if (READ_UINT32_UNALIGNED(ptr) == MKID('iMUS')){
_scumm->_imuseDigital->startSound(sound);
if (_scumm->_imuseDigital)
_scumm->_imuseDigital->startSound(sound);
return;
}
else if (READ_UINT32_UNALIGNED(ptr) == MKID('SOUN')) {