mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-21 14:41:39 +00:00
Also replace "//" to "/".
This commit is contained in:
parent
d811b6f5f0
commit
60ef33b1e0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user