(RMenu/RGUI) Don't set first delay timer

This commit is contained in:
twinaphex 2013-04-19 00:52:37 +02:00
parent 576aafd5e4
commit 2cef7466a8
2 changed files with 0 additions and 10 deletions

View File

@ -2126,11 +2126,6 @@ bool menu_iterate(void)
return true;
deinit:
// set a timer delay so that we don't instantly switch back to the menu when
// press and holding QUIT in the emulation loop (lasts for 30 frame ticks)
if (!(g_extern.lifecycle_state & (1ULL << RARCH_FRAMEADVANCE)))
g_extern.delay_timer[0] = g_extern.frame_count + 30;
g_extern.lifecycle_mode_state &= ~(1ULL << MODE_MENU_INGAME);
return false;

View File

@ -3307,10 +3307,5 @@ bool menu_iterate(void)
return true;
deinit:
// set a timer delay so that we don't instantly switch back to the menu when
// press and holding L3 + R3 in the emulation loop (lasts for 30 frame ticks)
if (!(g_extern.lifecycle_state & (1ULL << RARCH_FRAMEADVANCE)))
g_extern.delay_timer[0] = g_extern.frame_count + 30;
return false;
}