mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 03:39:59 +00:00
Fix menu sounds after loading core (#15539)
This commit is contained in:
parent
502db576d6
commit
45af11efe9
@ -5874,10 +5874,11 @@ static enum runloop_state_enum runloop_check_state(
|
|||||||
#else
|
#else
|
||||||
bool menu_pause_libretro = settings->bools.menu_pause_libretro;
|
bool menu_pause_libretro = settings->bools.menu_pause_libretro;
|
||||||
#endif
|
#endif
|
||||||
bool libretro_running = !(runloop_st->flags & RUNLOOP_FLAG_PAUSED)
|
bool libretro_running =
|
||||||
&& !menu_pause_libretro
|
runloop_is_inited
|
||||||
&& runloop_is_inited
|
&& !(runloop_st->flags & RUNLOOP_FLAG_PAUSED)
|
||||||
&& (runloop_st->current_core_type != CORE_TYPE_DUMMY);
|
&& ( !menu_pause_libretro
|
||||||
|
&& runloop_st->flags & RUNLOOP_FLAG_CORE_RUNNING);
|
||||||
|
|
||||||
if (menu)
|
if (menu)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user