mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 04:41:39 +00:00
CTitleMenu: fix options menu re-entering on A press whilst visible
This commit is contained in:
parent
0d433ed6ff
commit
0fff9a3c77
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ PPC_FUNC(sub_825882B8)
|
|||
auto pInputState = SWA::CInputState::GetInstance();
|
||||
auto isOptionsIndex = pTitleState->m_pMember->m_pTitleMenu->m_CursorIndex == 2;
|
||||
|
||||
if (pInputState && isOptionsIndex)
|
||||
if (!OptionsMenu::s_isVisible && pInputState && isOptionsIndex)
|
||||
{
|
||||
// TODO: play sys_worldmap_decide.
|
||||
if (pInputState->GetPadState().IsTapped(SWA::eKeyState_A))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue