mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Remove unnecessary ResolvePath
This commit is contained in:
parent
d35529e54f
commit
77f3804a8c
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue