Update rarch_main_set_pause references

This commit is contained in:
twinaphex 2015-09-26 13:22:36 +02:00
parent e3e1a5a35c
commit aed0cb8d21
2 changed files with 8 additions and 8 deletions

View File

@ -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))

View File

@ -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,