From f78b4b9f85d9cc8cef217bd5c1a1e632c95f09cb Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Fri, 3 Sep 2010 12:42:35 +0000 Subject: SCI: Added a warning when using GM with SCI1 games The MT-32 <-> GM mapping has only been worked on for SCI0/SCI01 games. Throw a warning when the user chooses GM in a SCI1 game, and there is no after market GM support from Sierra for this game svn-id: r52505 --- engines/sci/sound/drivers/midi.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'engines') diff --git a/engines/sci/sound/drivers/midi.cpp b/engines/sci/sound/drivers/midi.cpp index 8acd35374a..dc229262c7 100644 --- a/engines/sci/sound/drivers/midi.cpp +++ b/engines/sci/sound/drivers/midi.cpp @@ -834,6 +834,14 @@ int MidiPlayer_Midi::open(ResourceManager *resMan) { warning("Game has no native support for General MIDI, applying auto-mapping"); + // TODO: The MT-32 <-> GM mapping hasn't been worked on for SCI1 games. Throw + // a warning to the user + if (getSciVersion() >= SCI_VERSION_1_EGA) + warning("The automatic mapping for General MIDI hasn't been worked on for " + "SCI1 games. Music might sound wrong or broken. Please choose another " + "music driver for this game (e.g. Adlib or MT-32) if you are " + "experiencing issues with music"); + // Modify velocity map to make low velocity notes a little louder for (uint i = 1; i < 0x40; i++) { _velocityMap[0][i] = 0x20 + (i - 1) / 2; -- cgit v1.2.3