Use the latch in dialogs throughout.

This makes it so that rapid fire works for them as well.
This commit is contained in:
Unknown W. Brackets committed 2014-02-02 15:48:29 -08:00
1 parent c9c179d233
commit 77acd0729f
6 files changed
+18 -15

No files matched your search

+2 -4
View File
@@ -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;
}