mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
sceIo: Add support for microseconds in filetimes (not implemented in platforms yet)
This commit is contained in:
1 parent
5fa5bb2ab8
commit
dac2407a36
6 files changed
+42
-34
No files matched your search
@@ -776,6 +776,10 @@ PSPFileInfo DirectoryFileSystem::GetFileInfo(std::string filename) {
|
||||
localtime_r((time_t*)&ctime, &x.ctime);
|
||||
localtime_r((time_t*)&mtime, &x.mtime);
|
||||
|
||||
x.atimeUs = info.atimeUs;
|
||||
x.ctimeUs = info.ctimeUs;
|
||||
x.mtimeUs = info.mtimeUs;
|
||||
|
||||
return ReplayApplyDiskFileInfo(x, CoreTiming::GetGlobalTimeUs());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user