Fix an issue where pressing "triangle" on the PSP in the play menu would crash the game

This commit is contained in:
wagic.the.homebrew
2011-04-30 13:43:12 +00:00
parent 847a11f6ec
commit 0933294ca4

View File

@@ -903,6 +903,7 @@ void GameStateMenu::ButtonPressed(int controllerId, int controlId)
currentState = MENU_STATE_MAJOR_DUEL | MENU_STATE_MINOR_SUBMENU_CLOSING;
break;
case SUBMENUITEM_CANCEL:
case kInfoMenuID: // Triangle button
if (subMenuController != NULL)
{
subMenuController->Close();