[PSP] fix path_stat
This commit is contained in:
parent
dc9044c6b7
commit
a2a00b28a0
|
@ -88,7 +88,7 @@ static bool path_stat(const char *path, enum stat_mode mode)
|
||||||
if (tmp[len-1] == '/')
|
if (tmp[len-1] == '/')
|
||||||
tmp[len-1]='\0';
|
tmp[len-1]='\0';
|
||||||
|
|
||||||
if (sceIoGetstat(path, &buf) < 0)
|
if (sceIoGetstat(tmp, &buf) < 0)
|
||||||
{
|
{
|
||||||
free(tmp);
|
free(tmp);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue