Fix RARCH_CMD_MENU_TOGGLE

This commit is contained in:
twinaphex 2014-10-29 06:07:17 +01:00
parent 3fce1828ff
commit 662d0cd27e

View File

@ -2204,7 +2204,7 @@ bool rarch_main_command(unsigned cmd)
main_state(cmd); main_state(cmd);
break; break;
case RARCH_CMD_MENU_TOGGLE: case RARCH_CMD_MENU_TOGGLE:
if (g_extern.is_paused) if (g_extern.is_menu)
rarch_main_set_state(RARCH_ACTION_STATE_MENU_RUNNING_FINISHED); rarch_main_set_state(RARCH_ACTION_STATE_MENU_RUNNING_FINISHED);
else else
rarch_main_set_state(RARCH_ACTION_STATE_MENU_RUNNING); rarch_main_set_state(RARCH_ACTION_STATE_MENU_RUNNING);