mirror of
https://github.com/libretro/RetroArch
synced 2025-03-19 16:21:30 +00:00
Return failure on set_audio_callback without threads
Current code returns success even though it's actually a failure
This commit is contained in:
parent
8b43e1b4ef
commit
000eaf712a
@ -11568,9 +11568,10 @@ static bool rarch_environment_cb(unsigned cmd, void *data)
|
||||
return false;
|
||||
if (cb)
|
||||
audio_callback = *cb;
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
return false;
|
||||
|
||||
case RETRO_ENVIRONMENT_SET_FRAME_TIME_CALLBACK:
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user