diff options
author | Martin Kiewitz | 2009-12-25 13:17:30 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-12-25 13:17:30 +0000 |
commit | 5989195d8433bd52574c0bf1a68629f6b6b97f1e (patch) | |
tree | 8b4e92127fcba7c5b1a832da0fcb365189e94577 /engines/sci | |
parent | 55f55a14441536958d52639b73321a4f92597c1f (diff) | |
download | scummvm-rg350-5989195d8433bd52574c0bf1a68629f6b6b97f1e.tar.gz scummvm-rg350-5989195d8433bd52574c0bf1a68629f6b6b97f1e.tar.bz2 scummvm-rg350-5989195d8433bd52574c0bf1a68629f6b6b97f1e.zip |
SCI/newmusic: _signalSet, _signalToSet init, debug output added for signals
svn-id: r46548
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/sfx/music.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/sfx/music.cpp b/engines/sci/sfx/music.cpp index 21e1a6d98f..289efa14b1 100644 --- a/engines/sci/sfx/music.cpp +++ b/engines/sci/sfx/music.cpp @@ -490,6 +490,9 @@ MidiParser_SCI::MidiParser_SCI() : // values of ppqn and tempo are found experimentally and may be wrong _ppqn = 1; setTempo(16667); + + _signalSet = false; + _signalToSet = 0; } //--------------------------------------------- MidiParser_SCI::~MidiParser_SCI() { @@ -535,6 +538,7 @@ void MidiParser_SCI::parseNextEvent(EventInfo &info) { if (_signalSet) { _signalSet = false; PUT_SEL32V(segMan, _pSnd->soundObj, signal, _signalToSet); + warning("signal %04x", _signalToSet); } info.start = _position._play_pos; @@ -650,6 +654,7 @@ void MidiParser_SCI::parseNextEvent(EventInfo &info) { } else { _pSnd->status = kSndStatusStopped; PUT_SEL32V(segMan, _pSnd->soundObj, signal, 0xFFFF); + warning("signal EOT"); } } break; |