mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 03:44:32 +01:00
Make System_ShowFileInFolder a "request"
Also makes support queryable. Lets us remove the dummy implementations.
This commit is contained in:
1 parent
ca40de852a
commit
60492ae579
14 files changed
+76
-63
No files matched your search
@@ -977,7 +977,9 @@ 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) {
|
||||
System_ShowFileInFolder(File::ResolvePath(g_Config.memStickDirectory.ToString()).c_str());
|
||||
// TODO: Should build ResolvePath into System_ShowFileInFolder()?
|
||||
std::string resolved = File::ResolvePath(g_Config.memStickDirectory.ToString());
|
||||
System_ShowFileInFolder(Path(resolved));
|
||||
return UI::EVENT_DONE;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user