diff options
author | Joost Peters | 2004-01-20 12:44:00 +0000 |
---|---|---|
committer | Joost Peters | 2004-01-20 12:44:00 +0000 |
commit | 4ea5f7225d24adc4c3fd68fb82f1c188931f2b68 (patch) | |
tree | cb9cf22d44f8d2c86e2595f56fc46b1d6410bf9b /queen/music.cpp | |
parent | 0d8566c0b67a0f0714fe464d79364e32ad4774e4 (diff) | |
download | scummvm-rg350-4ea5f7225d24adc4c3fd68fb82f1c188931f2b68.tar.gz scummvm-rg350-4ea5f7225d24adc4c3fd68fb82f1c188931f2b68.tar.bz2 scummvm-rg350-4ea5f7225d24adc4c3fd68fb82f1c188931f2b68.zip |
initialise _channel array
svn-id: r12535
Diffstat (limited to 'queen/music.cpp')
-rw-r--r-- | queen/music.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/queen/music.cpp b/queen/music.cpp index d4f839ea3d..2561b58c18 100644 --- a/queen/music.cpp +++ b/queen/music.cpp @@ -29,6 +29,7 @@ namespace Queen { MusicPlayer::MusicPlayer(MidiDriver *driver, byte *data, uint32 size) : _driver(driver), _isPlaying(false), _looping(false), _volume(255), _queuePos(0), _musicData(data), _musicDataSize(size) { + memset(_channel, 0, sizeof(_channel)); queueClear(); _lastSong = 0; _parser = MidiParser::createParser_SMF(); |