From 50157fbca9e442d9c376f68edb1a9c73ae91b4b1 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 26 May 2009 15:46:54 +0000 Subject: SCI: Undo commit #40917 (SongIteratorChannel::resetSynthChannels now again does something) svn-id: r40921 --- engines/sci/sfx/iterator.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'engines') diff --git a/engines/sci/sfx/iterator.cpp b/engines/sci/sfx/iterator.cpp index ccf9b29474..599beb0186 100644 --- a/engines/sci/sfx/iterator.cpp +++ b/engines/sci/sfx/iterator.cpp @@ -126,9 +126,9 @@ void SongIteratorChannel::init(int id_, int offset_, int end_) { saw_notes = 0; } +extern SfxPlayer *player; // FIXME + void SongIteratorChannel::resetSynthChannels() { -#if 0 - extern SfxPlayer *player; // FIXME byte buf[5]; for (int i = 0; i < MIDI_CHANNELS; i++) { @@ -147,7 +147,6 @@ void SongIteratorChannel::resetSynthChannels() { /* TODO: Reset other controls? */ } } -#endif } static int _parse_sci_midi_command(BaseSongIterator *self, byte *buf, -- cgit v1.2.3