CTR-tools / CTR-ModSDK

ModSDK - a modding toolkit to create mods for Crash Team Racing in C. This repository also houses an effort to fully decompile and reverse-engineer CTR in C.
https://discord.gg/WHkuh2n
306 stars 37 forks source link

feat(decomp): add MEMCARD module #51

Closed aalhendi closed 1 year ago

aalhendi commented 1 year ago

Fix typo with MEMCARD_WriteFile, pass the proper buffer into write() call.

FUN_8003db54: MEMCARD_SkipEvents Byte Budget: 64/64

FUN_8003e238: MEMCARD_GetInfo Byte Budget: 96/100

FUN_8003e51c: MEMCARD_Format Byte Budget: 128/128

FUN_8003e6d4: MEMCARD_EraseFile Byte Budget: 68/108

FUN_8003e59c: MEMCARD_IsFile Byte Budget: 92/100

FUN_8003e600: MEMCARD_FindFirstGhost Byte Budget: 124/120

FUN_8003e678: MEMCARD_FindNextGhost Byte Budget: 88/92

FUN_8003e344: MEMCARD_Save Byte Budget: /472

FUN_8003e29c: MEMCARD_Load Byte Budget: ?/168

FUN_8003d7d8: MEMCARD_InitCard Byte Budget: 360/388

FUN_8003d95c: MEMCARD_CloseCard Byte Budget: 132/144

FUN_8003ddac: MEMCARD_Unknown Byte Budget: ?/1164