This commit is contained in:
Henrik Rydgård 2024-01-25 14:12:53 +01:00
parent bc92226715
commit 376a47e0f2

View File

@ -1301,7 +1301,8 @@ UI::EventReturn GameSettingsScreen::OnJitAffectingSetting(UI::EventParams &e) {
UI::EventReturn GameSettingsScreen::OnChangeMemStickDir(UI::EventParams &e) {
#if PPSSPP_PLATFORM(MAC) || PPSSPP_PLATFORM(IOS)
System_BrowseForFolder(GetRequesterToken(), "", [](const std::string &value, int) {
auto initialPath = g_Config.memStickDirectory;
System_BrowseForFolder(GetRequesterToken(), "", initialPath, [](const std::string &value, int) {
DarwinFileSystemServices::setUserPreferredMemoryStickDirectory(Path(value));
});
#else