Skip to content

Commit cb52e17

Browse files
committed
memcard progress
1 parent a79970f commit cb52e17

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

decompile/WorkInProgress/src/MEMCARD/MEMCARD_17_HandleEvent.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ int DECOMP_MEMCARD_HandleEvent(void)
125125
{
126126
sdata->memcard_stage++;
127127

128+
// TODO: struct MemcardWORD
129+
// S, C, iconSize, blockSize
130+
128131
sdata->memcardIconSize = ((sdata->memcard_ptrStart[2] & 0xf) + 1) * 0x80;
129132

130133
readResult = MEMCARD_ReadFile(sdata->memcardIconSize, sdata->memcardFileSize);

decompile/WorkInProgress/src/MEMCARD/MEMCARD_20_Save.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ uint8_t MEMCARD_Save(int slotIdx, char *name,
2121
// Two Block = 0x4000 bytes, minus 0x100 icon, thats 0x3F00, NOT 0x3e00 ND used
2222

2323
// Search for "MEMCARD_SET_SIZE_BYTE3"
24+
// TODO: struct MemcardWORD
25+
// S, C, iconSize, blockSize
2426

2527
// ALWAYS USED,
2628
// param_6 is always zero, (used to determine 1-block or 2-block)

0 commit comments

Comments
 (0)