Fix UI display issue with directory names starting with PSP (but not equal to it)

This commit is contained in:
Henrik Rydgård committed 2024-01-23 11:19:31 +01:00
1 parent 3fae8dd547
commit 4605cfd941
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -256,7 +256,7 @@ static bool LoadGameList(const Path &url, std::vector<Path> &games) {
PathBrowser browser(url);
std::vector<File::FileInfo> files;
browser.SetUserAgent(StringFromFormat("PPSSPP/%s", PPSSPP_GIT_VERSION));
browser.SetRootAlias("ms:", GetSysDirectory(DIRECTORY_MEMSTICK_ROOT).ToVisualString());
browser.SetRootAlias("ms:", GetSysDirectory(DIRECTORY_MEMSTICK_ROOT).ToVisualString() + "/");
browser.GetListing(files, "iso:cso:chd:pbp:elf:prx:ppdmp:", &scanCancelled);
if (scanCancelled) {
return false;