[Scummvm-git-logs] scummvm master -> ff0c339d199fa65db32bb4b76147e02fa6128669
athrxx
noreply at scummvm.org
Sun Oct 23 12:36:51 UTC 2022
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:
ff0c339d19 SCUMM: (IMS/MT-32) - fix regression
Commit: ff0c339d199fa65db32bb4b76147e02fa6128669
https://github.com/scummvm/scummvm/commit/ff0c339d199fa65db32bb4b76147e02fa6128669
Author: athrxx (athrxx at scummvm.org)
Date: 2022-10-23T14:36:30+02:00
Commit Message:
SCUMM: (IMS/MT-32) - fix regression
(assert in SAMNMAX)
Changed paths:
engines/scumm/imuse/drivers/midi.cpp
diff --git a/engines/scumm/imuse/drivers/midi.cpp b/engines/scumm/imuse/drivers/midi.cpp
index 2d18b43f90e..7a3e802d378 100644
--- a/engines/scumm/imuse/drivers/midi.cpp
+++ b/engines/scumm/imuse/drivers/midi.cpp
@@ -706,6 +706,8 @@ bool IMuseChannel_MT32::allocate() {
}
void IMuseChannel_MT32::reset() {
+ if (_newSystem)
+ return;
byte msg[] = { (byte)(_timbre >> 6), (byte)(_timbre & 0x3F), 0x18, 0x32, 0x10, 0x00, _reverbSwitch};
sendSysexPatchData(0, msg, sizeof(msg));
}
More information about the Scummvm-git-logs
mailing list