mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-05 20:24:01 +01:00
Use the latch in dialogs throughout.
This makes it so that rapid fire works for them as well.
This commit is contained in:
1 parent
c9c179d233
commit
77acd0729f
6 files changed
+18
-15
No files matched your search
@@ -131,7 +131,7 @@ int PSPMsgDialog::Init(unsigned int paramAddr)
|
||||
|
||||
status = SCE_UTILITY_STATUS_INITIALIZE;
|
||||
|
||||
lastButtons = __CtrlPeekButtons();
|
||||
UpdateButtons();
|
||||
StartFade(true);
|
||||
return 0;
|
||||
}
|
||||
@@ -222,10 +222,9 @@ int PSPMsgDialog::Update(int animSpeed)
|
||||
}
|
||||
else
|
||||
{
|
||||
UpdateButtons();
|
||||
UpdateFade(animSpeed);
|
||||
|
||||
buttons = __CtrlPeekButtons();
|
||||
|
||||
okButtonImg = I_CIRCLE;
|
||||
cancelButtonImg = I_CROSS;
|
||||
okButtonFlag = CTRL_CIRCLE;
|
||||
@@ -280,7 +279,6 @@ int PSPMsgDialog::Update(int animSpeed)
|
||||
|
||||
EndDraw();
|
||||
|
||||
lastButtons = buttons;
|
||||
messageDialog.result = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user