mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Also replace "//" to "/".
This commit is contained in:
1 parent
d811b6f5f0
commit
60ef33b1e0
1 file changed
+2
@@ -607,6 +607,7 @@ UI::EventReturn MainScreen::OnLoadFile(UI::EventParams &e) {
|
||||
UI::EventReturn MainScreen::OnGameSelected(UI::EventParams &e) {
|
||||
#ifdef _WIN32
|
||||
std::string path = ReplaceAll(e.s, "\\", "/");
|
||||
path = ReplaceAll(e.s, "//", "/");
|
||||
#else
|
||||
std::string path = e.s;
|
||||
#endif
|
||||
@@ -617,6 +618,7 @@ UI::EventReturn MainScreen::OnGameSelected(UI::EventParams &e) {
|
||||
UI::EventReturn MainScreen::OnGameSelectedInstant(UI::EventParams &e) {
|
||||
#ifdef _WIN32
|
||||
std::string path = ReplaceAll(e.s, "\\", "/");
|
||||
path = ReplaceAll(e.s, "//", "/");
|
||||
#else
|
||||
std::string path = e.s;
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user