diff options
author | Max Horn | 2005-05-25 19:40:30 +0000 |
---|---|---|
committer | Max Horn | 2005-05-25 19:40:30 +0000 |
commit | e3db264d890687d5b549865a636730523a9e968b (patch) | |
tree | 1acdfb07132d665538d5d133864423907b95e6f2 /scumm/instrument.cpp | |
parent | fc1b116f1242d1171ae97255eed1f83f931ec256 (diff) | |
download | scummvm-rg350-e3db264d890687d5b549865a636730523a9e968b.tar.gz scummvm-rg350-e3db264d890687d5b549865a636730523a9e968b.tar.bz2 scummvm-rg350-e3db264d890687d5b549865a636730523a9e968b.zip |
cleanup
svn-id: r18251
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 { |