From e3db264d890687d5b549865a636730523a9e968b Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 25 May 2005 19:40:30 +0000 Subject: cleanup svn-id: r18251 --- scumm/instrument.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scumm/instrument.cpp') 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 { -- cgit v1.2.3