mirror of https://github.com/PCSX2/pcsx2.git
FileSystem: Use _stat64 routines
This commit is contained in:
parent
5fbf21c1bd
commit
0440079a24
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue