mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-01 11:12:49 +00:00
Consider F:\ a valid recent iso.
File::Exists didn't like it, since it turned it into "F:".
This commit is contained in:
parent
a2763a298e
commit
fa7182ec34
@ -84,6 +84,10 @@ static void StripTailDirSlashes(std::string &fname)
|
||||
if (fname.length() > 1)
|
||||
{
|
||||
size_t i = fname.length() - 1;
|
||||
#ifdef _WIN32
|
||||
if (i == 2 && fname[1] == ':' && fname[2] == '\\')
|
||||
return;
|
||||
#endif
|
||||
while (strchr(DIR_SEP_CHRS, fname[i]))
|
||||
fname[i--] = '\0';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user