aboutsummaryrefslogtreecommitdiff
path: root/scumm/imuse_digi
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/imuse_digi')
-rw-r--r--scumm/imuse_digi/dimuse_sndmgr.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/scumm/imuse_digi/dimuse_sndmgr.cpp b/scumm/imuse_digi/dimuse_sndmgr.cpp
index 94ebc7e03b..8e164d0262 100644
--- a/scumm/imuse_digi/dimuse_sndmgr.cpp
+++ b/scumm/imuse_digi/dimuse_sndmgr.cpp
@@ -249,6 +249,11 @@ bool ImuseDigiSndMgr::openMusicBundle(soundStruct *sound, int disk) {
else
error("ImuseDigiSndMgr::openMusicBundle() Don't know which bundle file to load");
+ if (result)
+ _vm->VAR(_vm->VAR_MUSIC_BUNDLE_LOADED) = 1;
+ else
+ _vm->VAR(_vm->VAR_MUSIC_BUNDLE_LOADED) = 0;
+
return result;
}
@@ -283,6 +288,11 @@ bool ImuseDigiSndMgr::openVoiceBundle(soundStruct *sound, int disk) {
else
error("ImuseDigiSndMgr::openVoiceBundle() Don't know which bundle file to load");
+ if (result)
+ _vm->VAR(_vm->VAR_VOICE_BUNDLE_LOADED) = 1;
+ else
+ _vm->VAR(_vm->VAR_VOICE_BUNDLE_LOADED) = 0;
+
return result;
}