Remove unused function
Jeffrey Pfau jeffrey@endrift.com
Sun, 20 Jul 2014 01:40:05 -0700
2 files changed,
0 insertions(+),
10 deletions(-)
M
src/gba/gba-savedata.c
→
src/gba/gba-savedata.c
@@ -20,14 +20,6 @@ savedata->flashState = FLASH_STATE_RAW;
savedata->vf = vf; } -void GBASavedataForceType(struct GBASavedata* savedata, enum SavedataType type) { - if (savedata->type != SAVEDATA_NONE) { - GBALog(0, GBA_LOG_WARN, "Can't re-initialize savedata"); - return; - } - savedata->type = type; -} - void GBASavedataDeinit(struct GBASavedata* savedata) { if (savedata->vf) { switch (savedata->type) {
M
src/gba/gba-savedata.h
→
src/gba/gba-savedata.h
@@ -72,8 +72,6 @@
void GBASavedataInit(struct GBASavedata* savedata, struct VFile* vf); void GBASavedataDeinit(struct GBASavedata* savedata); -void GBASavedataForceType(struct GBASavedata* savedata, enum SavedataType type); - void GBASavedataInitFlash(struct GBASavedata* savedata); void GBASavedataInitEEPROM(struct GBASavedata* savedata); void GBASavedataInitSRAM(struct GBASavedata* savedata);