diff --git a/UI/MainScreen.cpp b/UI/MainScreen.cpp index 3abce01e51..a194fdb8a4 100644 --- a/UI/MainScreen.cpp +++ b/UI/MainScreen.cpp @@ -606,7 +606,7 @@ UI::EventReturn MainScreen::OnLoadFile(UI::EventParams &e) { UI::EventReturn MainScreen::OnGameSelected(UI::EventParams &e) { #ifdef _WIN32 - std::string path = ReplaceAll(e.s, "//", "/"); + std::string path = ReplaceAll(e.s, "\\", "/"); #else std::string path = e.s; #endif @@ -616,7 +616,7 @@ UI::EventReturn MainScreen::OnGameSelected(UI::EventParams &e) { UI::EventReturn MainScreen::OnGameSelectedInstant(UI::EventParams &e) { #ifdef _WIN32 - std::string path = ReplaceAll(e.s, "//", "/"); + std::string path = ReplaceAll(e.s, "\\", "/"); #else std::string path = e.s; #endif