From a2a00b28a010e9ced0aeee7c2a091d351096fcfb Mon Sep 17 00:00:00 2001 From: radius Date: Thu, 24 Sep 2015 21:11:17 -0500 Subject: [PATCH] [PSP] fix path_stat --- libretro-common/file/retro_stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-common/file/retro_stat.c b/libretro-common/file/retro_stat.c index d3fc24d731..70637b1faa 100644 --- a/libretro-common/file/retro_stat.c +++ b/libretro-common/file/retro_stat.c @@ -88,7 +88,7 @@ static bool path_stat(const char *path, enum stat_mode mode) if (tmp[len-1] == '/') tmp[len-1]='\0'; - if (sceIoGetstat(path, &buf) < 0) + if (sceIoGetstat(tmp, &buf) < 0) { free(tmp); return false;