# HG changeset patch # User Sam Lantinga # Date 1134492012 0 # Node ID f9794ee91dfc40daef437a3551ccae972789609f # Parent a67c8b2ae356818e963a82111e36fd5c62c77b7a 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. diff -r a67c8b2ae356 -r f9794ee91dfc src/audio/SDL_audio.c --- a/src/audio/SDL_audio.c Mon Dec 12 11:14:29 2005 +0000 +++ b/src/audio/SDL_audio.c Tue Dec 13 16:40:12 2005 +0000 @@ -423,7 +423,7 @@ 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() */ #else #if defined(__MINT__) && !defined(ENABLE_THREADS)