diff --git a/SDL/SDLMain.cpp b/SDL/SDLMain.cpp index 27695ec2da..6d19a66171 100644 --- a/SDL/SDLMain.cpp +++ b/SDL/SDLMain.cpp @@ -548,7 +548,11 @@ float System_GetPropertyFloat(SystemProperty prop) { bool System_GetPropertyBool(SystemProperty prop) { switch (prop) { case SYSPROP_CAN_SHOW_FILE: +#if PPSSPP_PLATFORM(WINDOWS) || PPSSPP_PLATFORM(MAC) || (PPSSPP_PLATFORM(LINUX) && !PPSSPP_PLATFORM(ANDROID)) return true; +#else + return false; +#endif case SYSPROP_HAS_OPEN_DIRECTORY: #if PPSSPP_PLATFORM(WINDOWS) return true; @@ -569,7 +573,7 @@ bool System_GetPropertyBool(SystemProperty prop) { #endif case SYSPROP_CAN_JIT: return true; - case SYSPROP_SUPPORTS_OPEN_FILE_IN_EDITOR: + case SYSPROP_SUPPORTS_OPEN_FILE_IN_EDITOR: return true; // FileUtil.cpp: OpenFileInEditor #ifndef HTTPS_NOT_AVAILABLE case SYSPROP_SUPPORTS_HTTPS: diff --git a/UI/GameSettingsScreen.cpp b/UI/GameSettingsScreen.cpp index 6b72c516ad..7a6b3a3a93 100644 --- a/UI/GameSettingsScreen.cpp +++ b/UI/GameSettingsScreen.cpp @@ -977,9 +977,7 @@ void GameSettingsScreen::CreateSystemSettings(UI::ViewGroup *systemSettings) { if (System_GetPropertyBool(SYSPROP_HAS_OPEN_DIRECTORY)) { systemSettings->Add(new Choice(sy->T("Show Memory Stick folder")))->OnClick.Add([](UI::EventParams &p) { - // TODO: Should build ResolvePath into System_ShowFileInFolder()? - std::string resolved = File::ResolvePath(g_Config.memStickDirectory.ToString()); - System_ShowFileInFolder(Path(resolved)); + System_ShowFileInFolder(g_Config.memStickDirectory); return UI::EVENT_DONE; }); }