aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/sound.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2012-05-09 00:42:27 +1000
committerPaul Gilbert2012-05-09 00:42:27 +1000
commit26898dd7ad399a641f63eabf04aa2d839f8508fc (patch)
tree7662cd1fc594e4d1c3ef2750c215a552a1c98bf7 /engines/tony/sound.cpp
parenta254f100253bda1b23f280226b7b4d909206d49c (diff)
downloadscummvm-rg350-26898dd7ad399a641f63eabf04aa2d839f8508fc.tar.gz
scummvm-rg350-26898dd7ad399a641f63eabf04aa2d839f8508fc.tar.bz2
scummvm-rg350-26898dd7ad399a641f63eabf04aa2d839f8508fc.zip
TONY: Completed bulk of initial coro refactoring
Diffstat (limited to 'engines/tony/sound.cpp')
-rw-r--r--engines/tony/sound.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tony/sound.cpp b/engines/tony/sound.cpp
index 7c340be86e..b376d14149 100644
--- a/engines/tony/sound.cpp
+++ b/engines/tony/sound.cpp
@@ -2179,8 +2179,9 @@ void PASCAL FPSTREAM::PlayThread(FPSTREAM *This) {
// sprintf(buf, "Exiting thread. Buffer = %x, MyThread = 0x%x\n", This->lpDSBuffer, GetCurrentThreadId());
// warning(buf);
This->lpDSBuffer->Stop();
-#endif
+
ExitThread(0);
+#endif
}