mirror of
https://github.com/yawut/SDL.git
synced 2026-08-23 01:05:09 -05:00
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.
This commit is contained in:
@@ -423,7 +423,7 @@ int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained)
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user