[Scummvm-git-logs] scummvm master -> 74329a907349c66279abe1d0072368afd894f6f3

NMIError noreply at scummvm.org
Sat Jun 24 19:50:19 UTC 2023


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:
74329a9073 AGOS: Disable MT-32 on GM warning for PC-98xx


Commit: 74329a907349c66279abe1d0072368afd894f6f3
    https://github.com/scummvm/scummvm/commit/74329a907349c66279abe1d0072368afd894f6f3
Author: Coen Rampen (crampen at gmail.com)
Date: 2023-06-24T21:50:13+02:00

Commit Message:
AGOS: Disable MT-32 on GM warning for PC-98xx

Changed paths:
    engines/agos/midi.cpp


diff --git a/engines/agos/midi.cpp b/engines/agos/midi.cpp
index 788a6509bdd..31aa0abb2dc 100644
--- a/engines/agos/midi.cpp
+++ b/engines/agos/midi.cpp
@@ -178,7 +178,10 @@ int MidiPlayer::open() {
 		_dataType = MT_MT32;
 	}
 
-	if (_dataType == MT_MT32 && _deviceType == MT_GM) {
+	// Check for MT-32 playback on a GM device and show a warning.
+	// Elvira 1 PC-98xx driver remaps MT-32 instruments to GM like the
+	// original driver does, so no warning needed in that case.
+	if (_dataType == MT_MT32 && _deviceType == MT_GM && !_pc98) {
 		// Not a real MT32 / no MUNT
 		::GUI::MessageDialog dialog(_(
 			"You appear to be using a General MIDI device,\n"




More information about the Scummvm-git-logs mailing list