mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 08:43:38 +01:00
Homebrew Store: Add support for cancelling downloads, fix progress bar. Fixes #9374
This commit is contained in:
1 parent
56e0d5ece2
commit
85c8d9b806
10 files changed
+82
-27
No files matched your search
@@ -73,6 +73,15 @@ bool GameManager::DownloadAndInstall(std::string storeZipUrl) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GameManager::CancelDownload() {
|
||||
if (!curDownload_)
|
||||
return false;
|
||||
|
||||
curDownload_->Cancel();
|
||||
curDownload_.reset();
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GameManager::Uninstall(std::string name) {
|
||||
if (name.empty()) {
|
||||
ERROR_LOG(HLE, "Cannot remove an empty-named game");
|
||||
|
||||
Reference in new issue
Block a user