From dcf14aae38f4f4a55baba19eab8ca5ad9d2ec7a9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 11 Mar 2013 02:07:11 +0100 Subject: [PATCH] Revert "(RMenu) Attempt same glitch fix as in RGUI for 'exit immediately" This reverts commit 95342e7638ef6c4aa17d2a3daba02788be0f2b7b. --- frontend/menu/rmenu.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/menu/rmenu.c b/frontend/menu/rmenu.c index 0dadf0b703..20d439bc1e 100644 --- a/frontend/menu/rmenu.c +++ b/frontend/menu/rmenu.c @@ -2771,7 +2771,8 @@ void menu_init(void) rmenu_state.init_resources = init_filebrowser; rmenu_state.free_resources = free_filebrowser; - rmenu_state.old_state = (1ULL << RARCH_MENU_TOGGLE); + rmenu_state.input = 0; + rmenu_state.old_state = 0; if(rmenu_state.init_resources) rmenu_state.init_resources(&rmenu_state); @@ -2887,8 +2888,6 @@ bool menu_iterate(void) return true; deinit: - // so we don't immediately exit when we re-open the menu - rmenu_state.old_state |= (1ULL << RARCH_MENU_TOGGLE); g_extern.lifecycle_mode_state &= ~(1ULL << MODE_MENU_DRAW); #ifndef __CELLOS_LV2__