Fix an issue where pressing "triangle" on the PSP in the play menu would crash the game
This commit is contained in:
@@ -903,6 +903,7 @@ void GameStateMenu::ButtonPressed(int controllerId, int controlId)
|
|||||||
currentState = MENU_STATE_MAJOR_DUEL | MENU_STATE_MINOR_SUBMENU_CLOSING;
|
currentState = MENU_STATE_MAJOR_DUEL | MENU_STATE_MINOR_SUBMENU_CLOSING;
|
||||||
break;
|
break;
|
||||||
case SUBMENUITEM_CANCEL:
|
case SUBMENUITEM_CANCEL:
|
||||||
|
case kInfoMenuID: // Triangle button
|
||||||
if (subMenuController != NULL)
|
if (subMenuController != NULL)
|
||||||
{
|
{
|
||||||
subMenuController->Close();
|
subMenuController->Close();
|
||||||
|
|||||||
Reference in New Issue
Block a user