This commit is contained in:
twinaphex 2017-05-21 12:57:28 +02:00
parent d61e5504a7
commit f847548178
1 changed files with 12 additions and 12 deletions

View File

@ -2252,9 +2252,6 @@ static enum runloop_state runloop_check_state(
unsigned *sleep_ms)
{
static bool old_focus = true;
#ifdef HAVE_OVERLAY
static char prev_overlay_restore = false;
#endif
bool is_focused = false;
bool is_alive = false;
uint64_t frame_count = 0;
@ -2294,6 +2291,8 @@ static enum runloop_state runloop_check_state(
#ifdef HAVE_OVERLAY
{
static char prev_overlay_restore = false;
if (input_keyboard_ctl(
RARCH_INPUT_KEYBOARD_CTL_IS_LINEFEED_ENABLED, NULL))
{
@ -2306,6 +2305,7 @@ static enum runloop_state runloop_check_state(
command_event(CMD_EVENT_OVERLAY_INIT, NULL);
prev_overlay_restore = false;
}
}
#endif
if (time_to_exit(runloop_cmd_press(trigger_input, RARCH_QUIT_KEY)))