Dialog: Update by button flag consistently.

Always check for the flag to change in Update().
This commit is contained in:
Unknown W. Brackets
2023-02-08 19:02:37 -08:00
parent 2d0252feb8
commit fcc1abc7c3
9 changed files with 34 additions and 44 deletions
+2
View File
@@ -84,11 +84,13 @@ int PSPScreenshotDialog::Init(u32 paramAddr) {
mode = params_->mode;
ChangeStatus(SCE_UTILITY_STATUS_INITIALIZE, 0);
InitCommon();
return 0;
}
int PSPScreenshotDialog::Update(int animSpeed) {
UpdateCommon();
if (UseAutoStatus()) {
if (ReadStatus() == SCE_UTILITY_STATUS_INITIALIZE) {
ChangeStatus(SCE_UTILITY_STATUS_RUNNING, 0);