Commit bdccb5d1 authored by Sam Lantinga's avatar Sam Lantinga

Date: Tue, 13 Dec 2005 13:33:50 +0000

From: "alan buckley"
Subject: Patch to fix audio locking on RISC OS

When threads were not disabled on a RISC OS build
the audio mixer mutex was not created.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401207
parent f57d6fbb
...@@ -423,7 +423,7 @@ int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained) ...@@ -423,7 +423,7 @@ int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained)
return(-1); return(-1);
} }
#if defined(macintosh) || (defined(__riscos__) && !defined(DISABLE_THREADS)) #if defined(macintosh) || (defined(__riscos__) && defined(DISABLE_THREADS))
/* FIXME: Need to implement PPC interrupt asm for SDL_LockAudio() */ /* FIXME: Need to implement PPC interrupt asm for SDL_LockAudio() */
#else #else
#if defined(__MINT__) && !defined(ENABLE_THREADS) #if defined(__MINT__) && !defined(ENABLE_THREADS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment