mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 01:29:41 +01:00
Fix some bugs in zip file extraction, refresh game list after
This commit is contained in:
1 parent
5e9bd09020
commit
bdd11af620
4 files changed
+40
-9
No files matched your search
+11
-1
@@ -695,8 +695,12 @@ bool GameBrowser::HasSpecialFiles(std::vector<Path> &filenames) {
|
||||
|
||||
void GameBrowser::Update() {
|
||||
LinearLayout::Update();
|
||||
if (listingPending_ && path_.IsListingReady()) {
|
||||
if (refreshPending_) {
|
||||
path_.Refresh();
|
||||
}
|
||||
if ((listingPending_ && path_.IsListingReady()) || refreshPending_) {
|
||||
Refresh();
|
||||
refreshPending_ = false;
|
||||
}
|
||||
if (searchPending_) {
|
||||
ApplySearchFilter();
|
||||
@@ -1615,6 +1619,12 @@ void MainScreen::dialogFinished(const Screen *dialog, DialogResult result) {
|
||||
g_BackgroundAudio.SetGame(Path());
|
||||
}
|
||||
}
|
||||
if (tag == "InstallZip") {
|
||||
INFO_LOG(Log::System, "InstallZip finished, refreshing");
|
||||
if (gameBrowsers_.size() >= 2) {
|
||||
gameBrowsers_[1]->RequestRefresh();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void UmdReplaceScreen::CreateViews() {
|
||||
|
||||
Reference in new issue
Block a user