aboutsummaryrefslogtreecommitdiff
path: root/scumm/instrument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/instrument.cpp')
-rw-r--r--scumm/instrument.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/scumm/instrument.cpp b/scumm/instrument.cpp
index 03145cb6d9..e2d78d815c 100644
--- a/scumm/instrument.cpp
+++ b/scumm/instrument.cpp
@@ -114,6 +114,15 @@ roland_to_gm_map [] = {
// { "trickle4 ", ??? }
};
+const byte Instrument::_gmRhythmMap[35] = {
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 36, 37, 38, 39, 40, 41, 66, 47,
+ 65, 48, 56};
+ // This emulates the percussion bank setup LEC used with the MT-32,
+ // where notes 24 - 34 were assigned instruments without reverb.
+ // It also fixes problems on GS devices that map sounds to these
+ // notes by default.
+
class Instrument_Program : public InstrumentInternal {
private:
byte _program;