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:
Sam Lantinga
2005-12-13 16:40:12 +00:00
parent 64b1dd14f8
commit a71dce4813

View File

@@ -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)