mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-27 21:01:37 +00:00
options_menu: hide menu on Y hold
This commit is contained in:
parent
6f31815f7d
commit
a768e7b96b
1 changed files with 3 additions and 1 deletions
|
|
@ -717,7 +717,9 @@ void DrawInfoPanel()
|
||||||
|
|
||||||
void OptionsMenu::Draw()
|
void OptionsMenu::Draw()
|
||||||
{
|
{
|
||||||
if (!s_isVisible)
|
auto inputState = SWA::CInputState::GetInstance();
|
||||||
|
|
||||||
|
if (!s_isVisible || inputState->GetPadState().IsDown(SWA::eKeyState_Y))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
g_callbackDataIndex = 0;
|
g_callbackDataIndex = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue