diff options
author | Johannes Schickel | 2011-07-14 01:09:47 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-07-14 01:09:47 +0200 |
commit | 482fcea8f3c57c7db12a81a3e124bc7b6e3594a5 (patch) | |
tree | 3e471c3a4185cc0db6c71933cc283608fa1d509d | |
parent | ed3fe4372a270d22da167a21f61fcca7f974478b (diff) | |
download | scummvm-rg350-482fcea8f3c57c7db12a81a3e124bc7b6e3594a5.tar.gz scummvm-rg350-482fcea8f3c57c7db12a81a3e124bc7b6e3594a5.tar.bz2 scummvm-rg350-482fcea8f3c57c7db12a81a3e124bc7b6e3594a5.zip |
SCUMM: Add debug output in case the code tries to set up a non-existant iMuse instrument.
-rw-r--r-- | engines/scumm/imuse/imuse.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/scumm/imuse/imuse.cpp b/engines/scumm/imuse/imuse.cpp index 5ad4798578..27a72c2afe 100644 --- a/engines/scumm/imuse/imuse.cpp +++ b/engines/scumm/imuse/imuse.cpp @@ -1693,8 +1693,10 @@ void IMuseInternal::copyGlobalInstrument(byte slot, Instrument *dest) { // In case we have an valid instrument set up, copy it to the part. _global_instruments[slot].copy_to(dest); } else if (_pcSpeaker) { + debug(0, "Trying to use non-existant global PC Speaker instrument %d", slot); dest->pcspk(defaultInstr); } else { + debug(0, "Trying to use non-existant global AdLib instrument %d", slot); dest->adlib(defaultInstr); } } |