mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-11 22:38:38 +00:00
artsaudio: revert bad arts_init return code check from commit ce5da5d.
This commit is contained in:
@@ -300,12 +300,12 @@ static void ARTS_Deinitialize(void)
|
||||
}
|
||||
|
||||
|
||||
static SDL_bool ARTS_Init(SDL_AudioDriverImpl * impl)
|
||||
static SDL_bool ARTS_Init(SDL_AudioDriverImpl *impl)
|
||||
{
|
||||
if (LoadARTSLibrary() < 0) {
|
||||
return SDL_FALSE;
|
||||
} else {
|
||||
if (SDL_NAME(arts_init) () != NULL) {
|
||||
if (SDL_NAME(arts_init) () != 0) {
|
||||
UnloadARTSLibrary();
|
||||
SDL_SetError("ARTS: arts_init failed (no audio server?)");
|
||||
return SDL_FALSE;
|
||||
|
||||
Reference in New Issue
Block a user