mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Make windows_file::stat return the same mtime as fs::stat
This commit is contained in:
parent
305a5bd717
commit
297e3c5996
@ -966,7 +966,7 @@ fs::file::file(const std::string& path, bs_t<open_mode> mode)
|
||||
info.is_writable = (basic_info.FileAttributes & FILE_ATTRIBUTE_READONLY) == 0;
|
||||
info.size = this->size();
|
||||
info.atime = to_time(basic_info.LastAccessTime);
|
||||
info.mtime = to_time(basic_info.ChangeTime);
|
||||
info.mtime = to_time(basic_info.LastWriteTime);
|
||||
info.ctime = info.mtime;
|
||||
|
||||
if (info.atime < info.mtime)
|
||||
|
Loading…
Reference in New Issue
Block a user