Dialog: Update by button flag consistently.

Always check for the flag to change in Update().
This commit is contained in:
Unknown W. Brackets committed 2023-02-08 19:02:37 -08:00
1 parent 2d0252feb8
commit fcc1abc7c3
9 files changed
+34 -44

No files matched your search

+2
View File
@@ -27,6 +27,7 @@ PSPPlaceholderDialog::~PSPPlaceholderDialog() {
int PSPPlaceholderDialog::Init() {
ChangeStatus(SCE_UTILITY_STATUS_INITIALIZE, 0);
InitCommon();
return 0;
}
@@ -38,6 +39,7 @@ int PSPPlaceholderDialog::Update(int animSpeed) {
} else if (ReadStatus() == SCE_UTILITY_STATUS_FINISHED) {
ChangeStatus(SCE_UTILITY_STATUS_SHUTDOWN, 0);
}
UpdateCommon();
return 0;
}