mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Support \ paths within filenames.
This commit is contained in:
@@ -29,7 +29,8 @@ static bool ApplyPathStringToComponentsVector(std::vector<std::string> &vector,
|
||||
|
||||
while (start < len)
|
||||
{
|
||||
size_t i = pathString.find('/', start);
|
||||
// TODO: This should only be done for ms0:/ etc.
|
||||
size_t i = pathString.find_first_of('/\\', start);
|
||||
if (i == std::string::npos)
|
||||
i = len;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user