idz: TA world record fixes

This commit is contained in:
Tau
2019-11-06 17:28:30 -05:00
parent a3705730ce
commit af8cdf3072
6 changed files with 23 additions and 9 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ export function loadTopTen1(buf: Buffer): LoadTopTenRequest {
for (let i = 0; i < 32; i++) {
selectors.push({
routeNo: (buf.readUInt16LE(0x0004 + 2 * i) >> 1) as RouteNo,
field_44: buf.readUInt32LE(0x0044 + 4 * i),
minTimestamp: new Date(buf.readUInt32LE(0x0044 + 4 * i) * 1000 + 1000),
});
}
+1 -1
View File
@@ -16,7 +16,7 @@ export function loadTopTen2(buf: Buffer): LoadTopTenRequest {
for (let i = 0; i < 40; i++) {
selectors.push({
routeNo: (buf.readUInt16LE(0x0004 + 2 * i) >> 1) as RouteNo,
field_44: buf.readUInt32LE(0x0054 + 4 * i),
minTimestamp: new Date(buf.readUInt32LE(0x0054 + 4 * i) * 1000 + 1000),
});
}