mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 09:09:29 +01:00
Merge pull request #17457 from unknownbrackets/zip-install
UI: Fix thread error on zip open failure
This commit is contained in:
1 file changed
+2
-2
@@ -310,7 +310,7 @@ bool GameManager::InstallGame(Path url, Path fileName, bool deleteAfter) {
|
||||
|
||||
struct zip *z = ZipOpenPath(fileName);
|
||||
if (!z) {
|
||||
installInProgress_ = false;
|
||||
SetInstallError(sy->T("Unable to open zip file"));
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -742,6 +742,6 @@ void GameManager::ResetInstallError() {
|
||||
}
|
||||
|
||||
void GameManager::InstallDone() {
|
||||
installInProgress_ = false;
|
||||
installDonePending_ = true;
|
||||
installInProgress_ = false;
|
||||
}
|
||||
Reference in new issue
Block a user