diff options
author | Jamieson Christian | 2002-12-20 13:09:01 +0000 |
---|---|---|
committer | Jamieson Christian | 2002-12-20 13:09:01 +0000 |
commit | 799da2baeff6dc35990bfbf85fa4531c1b3bc8ed (patch) | |
tree | 12fddc7b09ac769ec9bfb39192cc85a2c2772b1d /scumm/instrument.cpp | |
parent | e347600e115cf6c50e9c3c56472138f6b7b8bba3 (diff) | |
download | scummvm-rg350-799da2baeff6dc35990bfbf85fa4531c1b3bc8ed.tar.gz scummvm-rg350-799da2baeff6dc35990bfbf85fa4531c1b3bc8ed.tar.bz2 scummvm-rg350-799da2baeff6dc35990bfbf85fa4531c1b3bc8ed.zip |
[Bug #656635] fixed.
Adlib global instrument assignments are now correct.
svn-id: r6028
Diffstat (limited to 'scumm/instrument.cpp')
-rw-r--r-- | scumm/instrument.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/instrument.cpp b/scumm/instrument.cpp index bd7eec8a49..e8201ab8d7 100644 --- a/scumm/instrument.cpp +++ b/scumm/instrument.cpp @@ -133,6 +133,7 @@ public: Instrument_Program (Serializer *s); void saveOrLoad (Serializer *s); void send (MidiChannel *mc); + void copy_to (Instrument *dest) { dest->program (_program, _mt32); } }; class Instrument_Adlib : public InstrumentInternal { @@ -161,6 +162,7 @@ public: Instrument_Adlib (Serializer *s); void saveOrLoad (Serializer *s); void send (MidiChannel *mc); + void copy_to (Instrument *dest) { dest->adlib ((byte *) &_instrument); } }; class Instrument_Roland : public InstrumentInternal { @@ -230,6 +232,7 @@ public: Instrument_Roland (Serializer *s); void saveOrLoad (Serializer *s); void send (MidiChannel *mc); + void copy_to (Instrument *dest) { dest->roland ((byte *) &_instrument); } }; |