aboutsummaryrefslogtreecommitdiff
path: root/queen
diff options
context:
space:
mode:
Diffstat (limited to 'queen')
-rw-r--r--queen/music.cpp1
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();