mirror of
https://github.com/Ryujinx/SDL.git
synced 2025-06-14 03:15:42 +00:00
artsaudio: revert bad arts_init return code check from commit ce5da5d
.
This commit is contained in:
parent
7010452062
commit
b7a0ef6bdf
|
@ -305,7 +305,7 @@ static SDL_bool ARTS_Init(SDL_AudioDriverImpl * impl)
|
||||||
if (LoadARTSLibrary() < 0) {
|
if (LoadARTSLibrary() < 0) {
|
||||||
return SDL_FALSE;
|
return SDL_FALSE;
|
||||||
} else {
|
} else {
|
||||||
if (SDL_NAME(arts_init) () != NULL) {
|
if (SDL_NAME(arts_init) () != 0) {
|
||||||
UnloadARTSLibrary();
|
UnloadARTSLibrary();
|
||||||
SDL_SetError("ARTS: arts_init failed (no audio server?)");
|
SDL_SetError("ARTS: arts_init failed (no audio server?)");
|
||||||
return SDL_FALSE;
|
return SDL_FALSE;
|
||||||
|
|
Loading…
Reference in a new issue