FileSystem: Use _stat64 routines

This commit is contained in:
xantares 2022-11-26 18:20:16 +01:00 committed by refractionpcsx2
parent 5fbf21c1bd
commit 0440079a24
1 changed files with 3 additions and 3 deletions

View File

@ -1065,7 +1065,7 @@ bool FileSystem::StatFile(const char* path, struct stat* st)
return false;
struct _stat64 st64;
if (_wstati64(wpath.c_str(), &st64) != 0)
if (_wstat64(wpath.c_str(), &st64) != 0)
return false;
TranslateStat64(st, st64);
@ -1079,7 +1079,7 @@ bool FileSystem::StatFile(std::FILE* fp, struct stat* st)
return false;
struct _stat64 st64;
if (_fstati64(fd, &st64) != 0)
if (_fstat64(fd, &st64) != 0)
return false;
TranslateStat64(st, st64);
@ -1145,7 +1145,7 @@ bool FileSystem::StatFile(std::FILE* fp, FILESYSTEM_STAT_DATA* sd)
return false;
struct _stat64 st;
if (_fstati64(fd, &st) != 0)
if (_fstat64(fd, &st) != 0)
return false;
// parse attributes