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,8 +361,8 @@ 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_PAUSED, &boolean);
rarch_main_ctl(RARCH_MAIN_CTL_SET_IDLE, &boolean);
}
break;
@ -395,7 +395,7 @@ static void engine_handle_cmd(void)
{
bool boolean = false;
rarch_main_set_pause(false);
rarch_main_ctl(RARCH_MAIN_CTL_SET_PAUSED, &boolean);
rarch_main_ctl(RARCH_MAIN_CTL_SET_IDLE, &boolean);
if ((android_app->sensor_state_mask

View File

@ -48,8 +48,8 @@ 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_PAUSED, &boolean);
rarch_main_ctl(RARCH_MAIN_CTL_SET_IDLE, &boolean);
}
@ -58,8 +58,8 @@ 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_PAUSED, &boolean);
rarch_main_ctl(RARCH_MAIN_CTL_SET_IDLE, &boolean);
}