mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 01:21:03 +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;
|
return false;
|
||||||
if (cb)
|
if (cb)
|
||||||
audio_callback = *cb;
|
audio_callback = *cb;
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
break;
|
return false;
|
||||||
|
|
||||||
case RETRO_ENVIRONMENT_SET_FRAME_TIME_CALLBACK:
|
case RETRO_ENVIRONMENT_SET_FRAME_TIME_CALLBACK:
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user