diff options
author | Filippos Karapetis | 2010-09-03 12:42:35 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-09-03 12:42:35 +0000 |
commit | f78b4b9f85d9cc8cef217bd5c1a1e632c95f09cb (patch) | |
tree | 903ba65e1d2c17b3d92c2dd6176ed1f956effacc | |
parent | ace44770416d9f6614c6e0f19b933a3915f58ae0 (diff) | |
download | scummvm-rg350-f78b4b9f85d9cc8cef217bd5c1a1e632c95f09cb.tar.gz scummvm-rg350-f78b4b9f85d9cc8cef217bd5c1a1e632c95f09cb.tar.bz2 scummvm-rg350-f78b4b9f85d9cc8cef217bd5c1a1e632c95f09cb.zip |
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
-rw-r--r-- | engines/sci/sound/drivers/midi.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
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; |