diff options
author | Filippos Karapetis | 2010-01-01 19:23:23 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-01-01 19:23:23 +0000 |
commit | 98194bfe1307a7dc5b75546fb17c447844d6d5f9 (patch) | |
tree | de3605d10711de4e8d61e2e78e6cf447fb4e5b95 /engines/sci/engine | |
parent | 74159e12eb77dfc7c9fc47ecd962395aa8fbbbab (diff) | |
download | scummvm-rg350-98194bfe1307a7dc5b75546fb17c447844d6d5f9.tar.gz scummvm-rg350-98194bfe1307a7dc5b75546fb17c447844d6d5f9.tar.bz2 scummvm-rg350-98194bfe1307a7dc5b75546fb17c447844d6d5f9.zip |
SCI/new music code: The MIDI driver is now reset whenever the game's VM respawns, like what the old music code does. Fixes the MIDI music in KQ5CD, Lonbgow and perhaps others
svn-id: r46843
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/vm.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index 504f70b7ed..9eb3b85981 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -1812,6 +1812,8 @@ static EngineState *_game_run(EngineState *&s, int restoring) { game_init(s); #ifdef USE_OLD_MUSIC_FUNCTIONS s->_sound.sfx_reset_player(); +#else + s->_soundCmd->resetDriver(); #endif _init_stack_base_with_selector(s, s->_kernel->_selectorCache.play); |