From 799da2baeff6dc35990bfbf85fa4531c1b3bc8ed Mon Sep 17 00:00:00 2001 From: Jamieson Christian Date: Fri, 20 Dec 2002 13:09:01 +0000 Subject: [Bug #656635] fixed. Adlib global instrument assignments are now correct. svn-id: r6028 --- scumm/instrument.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scumm/instrument.cpp') 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); } }; -- cgit v1.2.3