mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 00:49:47 +00:00
Update rarch_main_set_pause references
This commit is contained in:
parent
e3e1a5a35c
commit
aed0cb8d21
@ -361,9 +361,9 @@ static void engine_handle_cmd(void)
|
||||
{
|
||||
bool boolean = true;
|
||||
RARCH_LOG("Pausing RetroArch.\n");
|
||||
rarch_main_set_pause(true);
|
||||
|
||||
rarch_main_ctl(RARCH_MAIN_CTL_SET_IDLE, &boolean);
|
||||
rarch_main_ctl(RARCH_MAIN_CTL_SET_PAUSED, &boolean);
|
||||
rarch_main_ctl(RARCH_MAIN_CTL_SET_IDLE, &boolean);
|
||||
}
|
||||
break;
|
||||
|
||||
@ -395,8 +395,8 @@ static void engine_handle_cmd(void)
|
||||
{
|
||||
bool boolean = false;
|
||||
|
||||
rarch_main_set_pause(false);
|
||||
rarch_main_ctl(RARCH_MAIN_CTL_SET_IDLE, &boolean);
|
||||
rarch_main_ctl(RARCH_MAIN_CTL_SET_PAUSED, &boolean);
|
||||
rarch_main_ctl(RARCH_MAIN_CTL_SET_IDLE, &boolean);
|
||||
|
||||
if ((android_app->sensor_state_mask
|
||||
& (UINT64_C(1) << RETRO_SENSOR_ACCELEROMETER_ENABLE))
|
||||
|
@ -48,9 +48,9 @@ static void rarch_enable_ui(void)
|
||||
bool boolean = true;
|
||||
|
||||
ui_companion_set_foreground(true);
|
||||
rarch_main_set_pause(true);
|
||||
|
||||
rarch_main_ctl(RARCH_MAIN_CTL_SET_IDLE, &boolean);
|
||||
rarch_main_ctl(RARCH_MAIN_CTL_SET_PAUSED, &boolean);
|
||||
rarch_main_ctl(RARCH_MAIN_CTL_SET_IDLE, &boolean);
|
||||
}
|
||||
|
||||
static void rarch_disable_ui(void)
|
||||
@ -58,9 +58,9 @@ static void rarch_disable_ui(void)
|
||||
bool boolean = false;
|
||||
|
||||
ui_companion_set_foreground(false);
|
||||
rarch_main_set_pause(false);
|
||||
|
||||
rarch_main_ctl(RARCH_MAIN_CTL_SET_IDLE, &boolean);
|
||||
rarch_main_ctl(RARCH_MAIN_CTL_SET_PAUSED, &boolean);
|
||||
rarch_main_ctl(RARCH_MAIN_CTL_SET_IDLE, &boolean);
|
||||
}
|
||||
|
||||
static void rarch_draw_observer(CFRunLoopObserverRef observer,
|
||||
|
Loading…
Reference in New Issue
Block a user