aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/midiparser_sci.h
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-11 14:47:13 +0000
committerFilippos Karapetis2010-06-11 14:47:13 +0000
commita08d06ad353996ee9bf495a84988f3a91cacf51a (patch)
treea4c331f5fede83ca082bde96026dfec4de39d5d6 /engines/sci/sound/midiparser_sci.h
parente572267a05674b4b462602781be58f813c84479d (diff)
downloadscummvm-rg350-a08d06ad353996ee9bf495a84988f3a91cacf51a.tar.gz
scummvm-rg350-a08d06ad353996ee9bf495a84988f3a91cacf51a.tar.bz2
scummvm-rg350-a08d06ad353996ee9bf495a84988f3a91cacf51a.zip
- Added a new debug command, verify_midi, which can be used to check all the songs of a game for unmapped instruments (still WIP and disabled)
- Fixed a bug in the verify_scripts command (it was loading the script resource twice) svn-id: r49597
Diffstat (limited to 'engines/sci/sound/midiparser_sci.h')
-rw-r--r--engines/sci/sound/midiparser_sci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/sound/midiparser_sci.h b/engines/sci/sound/midiparser_sci.h
index 9d4b5a39da..8384c74cf6 100644
--- a/engines/sci/sound/midiparser_sci.h
+++ b/engines/sci/sound/midiparser_sci.h
@@ -79,6 +79,8 @@ public:
void clearUsedChannels() { _channelsUsed = 0; }
+ const byte *getMixedData() const { return _mixedData; }
+
protected:
bool isChannelUsed(byte channel) const { return _channelsUsed & (1 << channel); }
void setChannelUsed(byte channel) { _channelsUsed |= (1 << channel); }