diff options
author | Joost Peters | 2003-12-28 01:17:29 +0000 |
---|---|---|
committer | Joost Peters | 2003-12-28 01:17:29 +0000 |
commit | effc207b694c3d2a60fc364e3ea919dea1de9a50 (patch) | |
tree | e884ff2aa1a1ab9646be4e406c5c3a5b3ba21307 /queen/music.cpp | |
parent | bcba9807358b3b121cc97d282a093afaefe623da (diff) | |
download | scummvm-rg350-effc207b694c3d2a60fc364e3ea919dea1de9a50.tar.gz scummvm-rg350-effc207b694c3d2a60fc364e3ea919dea1de9a50.tar.bz2 scummvm-rg350-effc207b694c3d2a60fc364e3ea919dea1de9a50.zip |
- added 'song' debugger command
- restore music after loading game
- fix for bug in Roland Floda Corridor music
- added LE struct reading methods (and renamed the old BE ones) for future compatibility with original DOS savegames
svn-id: r11985
Diffstat (limited to 'queen/music.cpp')
-rw-r--r-- | queen/music.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/queen/music.cpp b/queen/music.cpp index 592b196c0b..6c383d15d6 100644 --- a/queen/music.cpp +++ b/queen/music.cpp @@ -46,6 +46,10 @@ namespace Queen { Music::~Music() { stopSong(); _midi->unloadMusic(); + // Send All Notes Off + for (int i = 0; i < 16; ++i) + _driver->send((123 << 8) | 0xB0 | i); + _driver->close(); delete _midi; delete[] _musicData; } |