diff options
Diffstat (limited to 'scumm/instrument.cpp')
-rw-r--r-- | scumm/instrument.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scumm/instrument.cpp b/scumm/instrument.cpp index 8d65368674..284c562ac7 100644 --- a/scumm/instrument.cpp +++ b/scumm/instrument.cpp @@ -134,7 +134,11 @@ public: void saveOrLoad (Serializer *s); void send (MidiChannel *mc); void copy_to (Instrument *dest) { dest->program (_program, _mt32); } - bool is_valid() { return (_program < 128) && ((_native_mt32 == _mt32) || _native_mt32 ? (MidiDriver::_gmToMt32[_program] < 128) : (MidiDriver::_mt32ToGm[_program] < 128)); } + bool is_valid() { + return (_program < 128) && + ((_native_mt32 == _mt32) || _native_mt32 + ? (MidiDriver::_gmToMt32[_program] < 128) + : (MidiDriver::_mt32ToGm[_program] < 128)); } }; class Instrument_Adlib : public InstrumentInternal { |