* proper FAT timestamp handling
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user