aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorMax Horn2003-12-19 01:08:30 +0000
committerMax Horn2003-12-19 01:08:30 +0000
commit0cddca5f43c5b85d28f2977d783a6cd5cec0d540 (patch)
treedef3a524c684f22a90012665c06a30e4d20d2d68 /sky
parentd21fc5845dc77dd977df22fd9ddc3206bf23a920 (diff)
downloadscummvm-rg350-0cddca5f43c5b85d28f2977d783a6cd5cec0d540.tar.gz
scummvm-rg350-0cddca5f43c5b85d28f2977d783a6cd5cec0d540.tar.bz2
scummvm-rg350-0cddca5f43c5b85d28f2977d783a6cd5cec0d540.zip
unregister the premix proc when you go away
svn-id: r11755
Diffstat (limited to 'sky')
-rw-r--r--sky/music/adlibmusic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/music/adlibmusic.cpp b/sky/music/adlibmusic.cpp
index bfb48ec01f..1ce6c3aedf 100644
--- a/sky/music/adlibmusic.cpp
+++ b/sky/music/adlibmusic.cpp
@@ -46,7 +46,7 @@ SkyAdlibMusic::SkyAdlibMusic(SoundMixer *pMixer, SkyDisk *pSkyDisk, OSystem *sys
SkyAdlibMusic::~SkyAdlibMusic(void) {
- _mixer->setupPremix(NULL, NULL);
+ _mixer->setupPremix(0, 0);
// YM3812Shutdown();
}