(Menu) Disable going back to main menu when pressing menu toggle button

(will later be exposed again as a toggleable option)
This commit is contained in:
twinaphex 2014-09-15 07:23:50 +02:00
parent 48a44e8e64
commit 3c05bc4b52

View File

@ -380,8 +380,11 @@ bool menu_iterate(void)
if (driver.menu_ctx && driver.menu_ctx->input_postprocess)
driver.menu_ctx->input_postprocess(driver.menu->old_input_state);
#if 0
/* Go back to Main Menu when exiting */
if (ret < 0)
menu_flush_stack_type(driver.menu->menu_stack, MENU_SETTINGS);
#endif
if (ret)
return false;