mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Remove unnecessary slash conversion
This commit is contained in:
parent
4f10ff9d31
commit
a341eb6c32
1 changed files with 1 additions and 7 deletions
|
@ -509,13 +509,7 @@ Path DirectoryFileSystem::GetLocalPath(std::string internalPath) {
|
|||
|
||||
if (internalPath[0] == '/')
|
||||
internalPath.erase(0, 1);
|
||||
//Convert slashes
|
||||
#ifdef _WIN32
|
||||
for (size_t i = 0; i < internalPath.size(); i++) {
|
||||
if (internalPath[i] == '/')
|
||||
internalPath[i] = '\\';
|
||||
}
|
||||
#endif
|
||||
|
||||
return basePath / internalPath;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue