[Scummvm-git-logs] scummvm master -> a28952f1b0ed06ca9c1d637628a42a356e5d5d54

NMIError noreply at scummvm.org
Sat Feb 22 15:57:57 UTC 2025


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:
a28952f1b0 AGOS: Fix bad rhythm instruments in Simon 1 DOS


Commit: a28952f1b0ed06ca9c1d637628a42a356e5d5d54
    https://github.com/scummvm/scummvm/commit/a28952f1b0ed06ca9c1d637628a42a356e5d5d54
Author: Coen Rampen (crampen at gmail.com)
Date: 2025-02-22T16:57:47+01:00

Commit Message:
AGOS: Fix bad rhythm instruments in Simon 1 DOS

Changed paths:
    engines/agos/drivers/simon1/adlib.cpp


diff --git a/engines/agos/drivers/simon1/adlib.cpp b/engines/agos/drivers/simon1/adlib.cpp
index b402aa8d575..84a99b218bf 100644
--- a/engines/agos/drivers/simon1/adlib.cpp
+++ b/engines/agos/drivers/simon1/adlib.cpp
@@ -142,7 +142,7 @@ void MidiDriver_Simon1_AdLib::parseInstrumentData(const byte *instrumentData) {
 			rhythmBank[i].rhythmType = RHYTHM_TYPE_UNDEFINED;
 		} else {
 			// The rhythm bank makes use of instruments defined in the main instrument bank.
-			rhythmBank[i] = _instrumentBank[RHYTHM_MAP[i].program];
+			rhythmBank[i] = instrumentBank[RHYTHM_MAP[i].program];
 			// The MIDI channels used in the rhythm map correspond to OPL rhythm instrument types:
 			// 11 - bass drum
 			// 12 - snare drum




More information about the Scummvm-git-logs mailing list