aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound
diff options
context:
space:
mode:
authorathrxx2019-08-03 22:23:24 +0200
committerathrxx2019-08-07 16:43:06 +0200
commit0e73472207b18e406f51e8bca9c3450dd908ec38 (patch)
tree676ca6131e65f5ec48668c4d01f63701ce7be0dc /engines/sci/sound
parent8b197e4ec70a52f91c0774be98acf5b373542bde (diff)
downloadscummvm-rg350-0e73472207b18e406f51e8bca9c3450dd908ec38.tar.gz
scummvm-rg350-0e73472207b18e406f51e8bca9c3450dd908ec38.tar.bz2
scummvm-rg350-0e73472207b18e406f51e8bca9c3450dd908ec38.zip
AUDIO: (FM-Towns/PC98) - cleanup mutex handling
Diffstat (limited to 'engines/sci/sound')
-rw-r--r--engines/sci/sound/drivers/fmtowns.cpp2
-rw-r--r--engines/sci/sound/drivers/pc9801.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/sound/drivers/fmtowns.cpp b/engines/sci/sound/drivers/fmtowns.cpp
index 4dd74bc42d..7475b01a6f 100644
--- a/engines/sci/sound/drivers/fmtowns.cpp
+++ b/engines/sci/sound/drivers/fmtowns.cpp
@@ -405,7 +405,7 @@ int TownsMidiPart::allocateChannel() {
}
MidiDriver_FMTowns::MidiDriver_FMTowns(Audio::Mixer *mixer, SciVersion version) : _version(version), _timerProc(0), _timerProcPara(0), _baseTempo(10080), _ready(false), _isOpen(false), _masterVolume(0x0f), _soundOn(true) {
- _intf = new TownsAudioInterface(mixer, this, true);
+ _intf = new TownsAudioInterface(mixer, this);
_out = new TownsChannel*[6];
for (int i = 0; i < 6; i++)
_out[i] = new TownsChannel(this, i);
diff --git a/engines/sci/sound/drivers/pc9801.cpp b/engines/sci/sound/drivers/pc9801.cpp
index fe7d5bf7ba..a4b634f1dd 100644
--- a/engines/sci/sound/drivers/pc9801.cpp
+++ b/engines/sci/sound/drivers/pc9801.cpp
@@ -1322,9 +1322,9 @@ MidiDriver_PC9801::MidiDriver_PC9801(Audio::Mixer *mixer, SciVersion version)
_polyphony(9), _channelMask1(0x10), _channelMask2(0x02) {
_pc98a =
#ifdef SCI_PC98_AUDIO_EXTENDED
- new PC98AudioCore(mixer, this, kType86, true);
+ new PC98AudioCore(mixer, this, kType86);
#else
- new PC98AudioCore(mixer, this, kType26, true);
+ new PC98AudioCore(mixer, this, kType26);
#endif
}