Skip to content

Commit c9c0faf

Browse files
JoeMattclaude
andcommitted
Fix build: remove references to variables removed by SRAM rework
The save state functions from PR #104 referenced cdromEEPROM and haveMT, which were removed/replaced in this branch's SRAM interface rework. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent 963a4b8 commit c9c0faf

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

src/eeprom.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,6 @@ size_t EepromStateSave(uint8_t *buf)
381381

382382
/* EEPROM data arrays */
383383
STATE_SAVE_BUF(buf, eeprom_ram, sizeof(eeprom_ram));
384-
STATE_SAVE_BUF(buf, cdromEEPROM, sizeof(cdromEEPROM));
385384

386385
return (size_t)(buf - start);
387386
}
@@ -402,7 +401,6 @@ size_t EepromStateLoad(const uint8_t *buf)
402401

403402
/* EEPROM data arrays */
404403
STATE_LOAD_BUF(buf, eeprom_ram, sizeof(eeprom_ram));
405-
STATE_LOAD_BUF(buf, cdromEEPROM, sizeof(cdromEEPROM));
406404

407405
return (size_t)(buf - start);
408406
}

src/memtrack.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ size_t MTStateSave(uint8_t *buf)
187187
STATE_SAVE_BUF(buf, mtMem, sizeof(mtMem));
188188
STATE_SAVE_VAR(buf, mtCommand);
189189
STATE_SAVE_VAR(buf, mtState);
190-
STATE_SAVE_VAR(buf, haveMT);
191190

192191
return (size_t)(buf - start);
193192
}
@@ -199,7 +198,6 @@ size_t MTStateLoad(const uint8_t *buf)
199198
STATE_LOAD_BUF(buf, mtMem, sizeof(mtMem));
200199
STATE_LOAD_VAR(buf, mtCommand);
201200
STATE_LOAD_VAR(buf, mtState);
202-
STATE_LOAD_VAR(buf, haveMT);
203201

204202
return (size_t)(buf - start);
205203
}

0 commit comments

Comments
 (0)