Save "last mileage reward" field

Not entirely clear what it does but it prevents a music unlock
notification notification from popping at the start of every credit
whether or not the underlying music unlock flag is already set.
This commit is contained in:
Tau
2019-11-06 17:28:30 -05:00
parent a4a6550abb
commit 141cb4b90c
4 changed files with 16 additions and 1 deletions
+1
View File
@@ -61,6 +61,7 @@ export function saveProfile(buf: Buffer): SaveProfileRequest {
cup: buf.readUInt8(0x0110),
gauges: buf.readUInt16LE(0x0114),
music: buf.readUInt16LE(0x0140),
lastMileageReward: buf.readUInt32LE(0x013c),
},
settings: {
music: buf.readUInt16LE(0x045a),