mirror of
https://github.com/libretro/RetroArch
synced 2025-02-27 18:41:01 +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
|
||||
bool menu_pause_libretro = settings->bools.menu_pause_libretro;
|
||||
#endif
|
||||
bool libretro_running = !(runloop_st->flags & RUNLOOP_FLAG_PAUSED)
|
||||
&& !menu_pause_libretro
|
||||
&& runloop_is_inited
|
||||
&& (runloop_st->current_core_type != CORE_TYPE_DUMMY);
|
||||
bool libretro_running =
|
||||
runloop_is_inited
|
||||
&& !(runloop_st->flags & RUNLOOP_FLAG_PAUSED)
|
||||
&& ( !menu_pause_libretro
|
||||
&& runloop_st->flags & RUNLOOP_FLAG_CORE_RUNNING);
|
||||
|
||||
if (menu)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user