aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2004-10-17 19:40:05 +0000
committerMax Horn2004-10-17 19:40:05 +0000
commit42909eb0b03f569b789db9001b29e885f8adc1ad (patch)
tree92363eea4b8eb41a4710ac3b14aa3bf2a6780e81
parent697da0eb9bbe3a889946269ee803f63c77ff3fc0 (diff)
downloadscummvm-rg350-42909eb0b03f569b789db9001b29e885f8adc1ad.tar.gz
scummvm-rg350-42909eb0b03f569b789db9001b29e885f8adc1ad.tar.bz2
scummvm-rg350-42909eb0b03f569b789db9001b29e885f8adc1ad.zip
Use new setupPremix variant (incomplete)
svn-id: r15596
-rw-r--r--sky/music/adlibmusic.cpp2
-rw-r--r--sword1/music.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/sky/music/adlibmusic.cpp b/sky/music/adlibmusic.cpp
index 5a0a8d468b..9e9a4860f9 100644
--- a/sky/music/adlibmusic.cpp
+++ b/sky/music/adlibmusic.cpp
@@ -45,7 +45,7 @@ AdlibMusic::AdlibMusic(SoundMixer *pMixer, Disk *pDisk, OSystem *system)
AdlibMusic::~AdlibMusic(void) {
- _mixer->setupPremix(0, 0);
+ _mixer->setupPremix(0);
// YM3812Shutdown();
}
diff --git a/sword1/music.cpp b/sword1/music.cpp
index ea20f84499..a3ef334a49 100644
--- a/sword1/music.cpp
+++ b/sword1/music.cpp
@@ -241,7 +241,7 @@ Music::Music(OSystem *system, SoundMixer *pMixer) {
}
Music::~Music() {
- _mixer->setupPremix(0, 0);
+ _mixer->setupPremix(0);
delete _converter[0];
delete _converter[1];
if (_mutex)