mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 15:30:35 +00:00
Support \ paths within filenames.
This commit is contained in:
parent
9c59990edc
commit
3499ef341a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user