mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Fix crash in Zip UI. Make another crash happen earlier.
This commit is contained in:
1 parent
ccf63ef544
commit
a461dbeecb
3 files changed
+9
-5
No files matched your search
@@ -110,12 +110,15 @@ void InstallZipScreen::update() {
|
||||
|
||||
using namespace UI;
|
||||
if (g_GameManager.GetState() != GameManagerState::IDLE) {
|
||||
progressBar_->SetVisibility(V_VISIBLE);
|
||||
progressBar_->SetProgress(g_GameManager.GetCurrentInstallProgressPercentage());
|
||||
if (progressBar_) {
|
||||
progressBar_->SetVisibility(V_VISIBLE);
|
||||
progressBar_->SetProgress(g_GameManager.GetCurrentInstallProgressPercentage());
|
||||
}
|
||||
backChoice_->SetEnabled(false);
|
||||
} else {
|
||||
if (progressBar_)
|
||||
if (progressBar_) {
|
||||
progressBar_->SetVisibility(V_GONE);
|
||||
}
|
||||
backChoice_->SetEnabled(true);
|
||||
std::string err = g_GameManager.GetInstallError();
|
||||
if (!err.empty()) {
|
||||
|
||||
Reference in new issue
Block a user