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
@@ -514,7 +514,7 @@ GameBrowser::GameBrowser(int token, const Path &path, BrowseFlags browseFlags, b
: LinearLayout(UI::ORIENT_VERTICAL, layoutParams), path_(path), gridStyle_(gridStyle), browseFlags_(browseFlags), lastText_(lastText), lastLink_(lastLink), screenManager_(screenManager), token_(token) {
using namespace UI;
path_.SetUserAgent(StringFromFormat("PPSSPP/%s", PPSSPP_GIT_VERSION));
path_.SetRootAlias("ms:", GetSysDirectory(DIRECTORY_MEMSTICK_ROOT).ToVisualString());
path_.SetRootAlias("ms:", GetSysDirectory(DIRECTORY_MEMSTICK_ROOT).ToVisualString() + "/");
Refresh();
}