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
This commit is contained in:
parent
ace4477041
commit
f78b4b9f85
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue