aboutsummaryrefslogtreecommitdiff
path: root/backends/morphos/morphos_sound.cpp
diff options
context:
space:
mode:
authorRuediger Hanke2003-08-23 18:01:21 +0000
committerRuediger Hanke2003-08-23 18:01:21 +0000
commitfda9c872188128862936da88f2a1ec41af5d5dd9 (patch)
treea1a791d8cdb355778e341617fac7cc6f8c3411c4 /backends/morphos/morphos_sound.cpp
parent6768da3e7689224e5b8fb0c0961b6f0829dd17c9 (diff)
downloadscummvm-rg350-fda9c872188128862936da88f2a1ec41af5d5dd9.tar.gz
scummvm-rg350-fda9c872188128862936da88f2a1ec41af5d5dd9.tar.bz2
scummvm-rg350-fda9c872188128862936da88f2a1ec41af5d5dd9.zip
little bugfix, safer code
svn-id: r9832
Diffstat (limited to 'backends/morphos/morphos_sound.cpp')
-rw-r--r--backends/morphos/morphos_sound.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/backends/morphos/morphos_sound.cpp b/backends/morphos/morphos_sound.cpp
index 0646f2bed8..70b344389d 100644
--- a/backends/morphos/morphos_sound.cpp
+++ b/backends/morphos/morphos_sound.cpp
@@ -190,8 +190,6 @@ int morphos_sound_thread(OSystem_MorphOS *syst, ULONG SampleType)
ULONG signals;
bool initialized;
- ObtainSemaphore(&ScummSoundThreadRunning);
-
initialized = init_morphos_sound();
if (!initialized)
{
@@ -250,8 +248,6 @@ int morphos_sound_thread(OSystem_MorphOS *syst, ULONG SampleType)
exit_morphos_sound();
- ReleaseSemaphore(&ScummSoundThreadRunning);
- RemTask(NULL);
return 0;
}