mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
Fix crash when drag-dropping texture packs. Fixes the main part of #13614 .
Still some weirdness going on with error checking though.
This commit is contained in:
1 parent
d9350d4899
commit
cf092eb534
1 file changed
+6
-2
@@ -116,12 +116,16 @@ void InstallZipScreen::update() {
|
||||
progressBar_->SetVisibility(V_VISIBLE);
|
||||
progressBar_->SetProgress(g_GameManager.GetCurrentInstallProgressPercentage());
|
||||
}
|
||||
backChoice_->SetEnabled(false);
|
||||
if (backChoice_) {
|
||||
backChoice_->SetEnabled(false);
|
||||
}
|
||||
} else {
|
||||
if (progressBar_) {
|
||||
progressBar_->SetVisibility(V_GONE);
|
||||
}
|
||||
backChoice_->SetEnabled(true);
|
||||
if (backChoice_) {
|
||||
backChoice_->SetEnabled(true);
|
||||
}
|
||||
std::string err = g_GameManager.GetInstallError();
|
||||
if (!err.empty()) {
|
||||
if (doneView_)
|
||||
|
||||
Reference in new issue
Block a user