1
0
mirror of synced 2024-11-15 07:17:35 +01:00

Merge pull request #152 from doomertheboomer/master

WMMT5: add neon support on save file offset: 7C
This commit is contained in:
Boomslangnz 2021-08-27 14:29:39 +12:00 committed by GitHub
commit c75ff7e03e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -835,7 +835,7 @@ static void LoadWmmt5CarData()
memcpy((void *)(carSaveLocation + 0x50), carData + 0x50, 8);
memcpy((void *)(carSaveLocation + 0x58), carData + 0x58, 8);
memcpy((void *)(carSaveLocation + 0x68), carData + 0x68, 8);
// memcpy((void *)(carSaveLocation + 0x70), carData + 0x70, 8);
memcpy((void *)(carSaveLocation + 0x7C), carData + 0x7C, 1); //should add neons
memcpy((void *)(carSaveLocation + 0x80), carData + 0x80, 8);
memcpy((void *)(carSaveLocation + 0x88), carData + 0x88, 8);
memcpy((void *)(carSaveLocation + 0x90), carData + 0x90, 8);
@ -879,7 +879,7 @@ static void LoadWmmt5CarData()
memcpy((void *)(carSaveLocation + 0x50), carData + 0x50, 8);
memcpy((void *)(carSaveLocation + 0x58), carData + 0x58, 8);
memcpy((void *)(carSaveLocation + 0x68), carData + 0x68, 8);
// memcpy((void *)(carSaveLocation + 0x70), carData + 0x70, 8);
memcpy((void *)(carSaveLocation + 0x7C), carData + 0x7C, 1); //should add neons
memcpy((void *)(carSaveLocation + 0x80), carData + 0x80, 8);
memcpy((void *)(carSaveLocation + 0x88), carData + 0x88, 8);
memcpy((void *)(carSaveLocation + 0x90), carData + 0x90, 8);