From 96c900f095bea4ed64a3e339df457e3eae062f9c Mon Sep 17 00:00:00 2001 From: James Brown Date: Wed, 16 Oct 2002 09:11:08 +0000 Subject: [PATCH] Make it possible to disable digitalimuse by just commenting out it's creation in scummvm.cpp svn-id: r5162 --- scumm/sound.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 12db8dc8c5b..7f4b3038332 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -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')) {