Add another HAVE_MENU ifdef

This commit is contained in:
twinaphex 2021-03-22 22:12:58 +01:00
parent fb9d8bad74
commit 437a49780c

View File

@ -29114,7 +29114,11 @@ bool audio_driver_callback(void)
{
struct rarch_state *p_rarch = &rarch_st;
settings_t *settings = p_rarch->configuration_settings;
#ifdef HAVE_MENU
bool core_paused = p_rarch->runloop_paused || (settings->bools.menu_pause_libretro && p_rarch->menu_driver_alive);
#else
bool core_paused = p_rarch->runloop_paused;
#endif
if (!p_rarch->audio_callback.callback)
return false;