diff options
author | Alyssa Milburn | 2012-08-25 14:08:35 +0200 |
---|---|---|
committer | Alyssa Milburn | 2012-08-25 14:09:02 +0200 |
commit | ca82454d74c27f496666a76ef2c96528375d8b92 (patch) | |
tree | 949cd3d6d7610a9ae391fd7d6bd412a2f7a0e061 /engines | |
parent | f4b83283f3c7ee9a1d857d1ce19321de0196e685 (diff) | |
download | scummvm-rg350-ca82454d74c27f496666a76ef2c96528375d8b92.tar.gz scummvm-rg350-ca82454d74c27f496666a76ef2c96528375d8b92.tar.bz2 scummvm-rg350-ca82454d74c27f496666a76ef2c96528375d8b92.zip |
TONY: Reset _hEndOfBuffer when restarting sounds.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tony/sound.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/tony/sound.cpp b/engines/tony/sound.cpp index 87e142df48..8ea7aa03c3 100644 --- a/engines/tony/sound.cpp +++ b/engines/tony/sound.cpp @@ -261,9 +261,7 @@ bool FPSfx::play() { stop(); // sanity check if (_bFileLoaded) { - // FIXME - //if (hEndOfBuffer != CORO_INVALID_PID_VALUE) - // ResetEvent(hEndOfBuffer); + CoroScheduler.resetEvent(_hEndOfBuffer); _rewindableStream->rewind(); |