mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-12-19 06:22:17 +00:00
Fix pause menu selection cast being visible while exiting options menu. (#139)
This commit is contained in:
parent
bdbdd42bd0
commit
85b5ebf9a7
1 changed files with 4 additions and 0 deletions
|
|
@ -68,6 +68,9 @@ bool InjectMenuBehaviour(uint32_t pThis, uint32_t count)
|
|||
pHudPause->m_Action = SWA::eActionType_Undefined;
|
||||
pHudPause->m_Transition = SWA::eTransitionType_Hide;
|
||||
|
||||
if (pHudPause->m_rcBg1Select)
|
||||
pHudPause->m_rcBg1Select->SetHideFlag(true);
|
||||
|
||||
return true;
|
||||
}
|
||||
else if (cursorIndex == count - 1)
|
||||
|
|
@ -153,6 +156,7 @@ PPC_FUNC(sub_824B0930)
|
|||
OptionsMenu::Close();
|
||||
|
||||
GuestToHostFunction<int>(sub_824AFD28, pHudPause, 0, 0, 0, 1);
|
||||
__imp__sub_824B0930(ctx, base);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue