mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 11:24:27 +01:00
Consider F:\ a valid recent iso.
File::Exists didn't like it, since it turned it into "F:".
This commit is contained in:
1 parent
a2763a298e
commit
fa7182ec34
1 file changed
+4
@@ -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';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user