diff options
author | Torbjörn Andersson | 2013-02-03 18:33:20 +0100 |
---|---|---|
committer | Torbjörn Andersson | 2013-02-03 18:33:20 +0100 |
commit | 49afc87b883c89c01a8638e158a5a533279ef073 (patch) | |
tree | 4bbe977e0a86e213815e81694bf0ae084c31678d /gui/ThemeEngine.h | |
parent | bce7139c8c5ed3966f9750c46ccfa83f6ad692c1 (diff) | |
download | scummvm-rg350-49afc87b883c89c01a8638e158a5a533279ef073.tar.gz scummvm-rg350-49afc87b883c89c01a8638e158a5a533279ef073.tar.bz2 scummvm-rg350-49afc87b883c89c01a8638e158a5a533279ef073.zip |
HOPKINS: Attempt to fix crash when skipping movie
Before starting an "Swav" sound, check that its sound handle isn't
already used. If it is, stop it. When skipping a movie, it still
(incorrectly?) goes through the motions of playing the remaining
frames, including starting any movie sounds on the way.
This would cause us to lose the handle to the sound that was
currently playing in the "Swav" slot, and I *think* that's what
ended up confusing things. I'm still not entirely sure exactly
what was happening.
Diffstat (limited to 'gui/ThemeEngine.h')
0 files changed, 0 insertions, 0 deletions