* proper FAT timestamp handling

This commit is contained in:
Ink
2017-01-10 19:45:00 +03:00
parent 0d8a81137c
commit fe3d31067f
2 changed files with 35 additions and 7 deletions

View File

@@ -128,7 +128,7 @@ bool DiscImageDevice::ReadEntry(ParseState* state, const uint8_t* buffer,
entry->size_ = length;
entry->allocation_size_ = xe::round_up(length, bytes_per_sector());
// Set to January 1, 1601 (UTC) in 100-nanosecond intervals
// Set to January 1, 1970 (UTC) in 100-nanosecond intervals
entry->create_timestamp_ = 10000 * 11644473600000LL;
entry->access_timestamp_ = 10000 * 11644473600000LL;
entry->write_timestamp_ = 10000 * 11644473600000LL;