From cb5f281236ca62082149a7af0192b1d33263c293 Mon Sep 17 00:00:00 2001 From: Tau Date: Wed, 8 May 2019 18:47:55 -0400 Subject: [PATCH] TA load fixup --- src/idz/encoder/loadProfile3.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/idz/encoder/loadProfile3.ts b/src/idz/encoder/loadProfile3.ts index 2fd7231..968702c 100644 --- a/src/idz/encoder/loadProfile3.ts +++ b/src/idz/encoder/loadProfile3.ts @@ -22,7 +22,7 @@ export function loadProfile3(res: LoadProfileResponse3) { buf.writeUInt16LE(0, 0x067c + 2 * routeNo); // ??? buf.writeUInt16LE(0xffff, 0x0184 + 2 * routeNo); // National rank - buf.writeUInt32LE((score.totalTime * 1000) | 0, 0x00e4 + 4 * routeNo); + buf.writeUInt32LE((score.totalTime * 1000) | 0, 0x05dc + 4 * routeNo); buf.writeUInt8(score.flags, 0x06cc + routeNo); buf.writeUInt8(score.grade, 0x07e4 + routeNo);