[Scummvm-git-logs] scummvm master -> c7126c9bc44ab8a275970e1dfcfac85dffe433c5
athrxx
athrxx at scummvm.org
Sun Apr 28 23:26:27 CEST 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
c7126c9bc4 SCI: (PC98 sound driver) - fix channel assignment bug
Commit: c7126c9bc44ab8a275970e1dfcfac85dffe433c5
https://github.com/scummvm/scummvm/commit/c7126c9bc44ab8a275970e1dfcfac85dffe433c5
Author: athrxx (athrxx at scummvm.org)
Date: 2019-04-28T23:24:50+02:00
Commit Message:
SCI: (PC98 sound driver) - fix channel assignment bug
Changed paths:
engines/sci/sound/drivers/pc9801.cpp
diff --git a/engines/sci/sound/drivers/pc9801.cpp b/engines/sci/sound/drivers/pc9801.cpp
index 4f1e7b9..fe7d5bf 100644
--- a/engines/sci/sound/drivers/pc9801.cpp
+++ b/engines/sci/sound/drivers/pc9801.cpp
@@ -1502,7 +1502,7 @@ void MidiDriver_PC9801::assignFreeChannels(int num) {
continue;
if (missing < num) {
num -= missing;
- _parts[i]->addChannels(num, 0);
+ _parts[i]->addChannels(missing, 0);
} else {
_parts[i]->addChannels(num, missing - num);
return;
More information about the Scummvm-git-logs
mailing list