diff options
author | Filippos Karapetis | 2009-11-29 14:44:12 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-11-29 14:44:12 +0000 |
commit | dc22fc1c9e7ad026990ed553ac368d1a125bf415 (patch) | |
tree | ba0a68a0cef5817943f15b8e50d6167274c97b3a /engines/sci/sfx | |
parent | 780ede2e71cebe617e528c49340a55e2e44d5720 (diff) | |
download | scummvm-rg350-dc22fc1c9e7ad026990ed553ac368d1a125bf415.tar.gz scummvm-rg350-dc22fc1c9e7ad026990ed553ac368d1a125bf415.tar.bz2 scummvm-rg350-dc22fc1c9e7ad026990ed553ac368d1a125bf415.zip |
Properly update the sound state in the sound command parser when loading a game
svn-id: r46196
Diffstat (limited to 'engines/sci/sfx')
-rw-r--r-- | engines/sci/sfx/soundcmd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/sfx/soundcmd.h b/engines/sci/sfx/soundcmd.h index 0a4e47512f..c4d2cdb15d 100644 --- a/engines/sci/sfx/soundcmd.h +++ b/engines/sci/sfx/soundcmd.h @@ -46,6 +46,8 @@ public: SoundCommandParser(ResourceManager *resMan, SegManager *segMan, SfxState *state, AudioPlayer *audio, SciVersion doSoundVersion); ~SoundCommandParser(); + void updateSfxState(SfxState *newState) { _state = newState; } + reg_t parseCommand(int argc, reg_t *argv, reg_t acc); private: |