mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-30 08:50:33 +00:00
Merge pull request #4177 from shenweip/patch-5
Also replace "//" to "/".
This commit is contained in:
commit
06a69cef09
@ -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…
Reference in New Issue
Block a user