GBA Serialize: Remove unused function
Vicki Pfau vi@endrift.com
Wed, 26 Apr 2017 19:40:54 -0700
2 files changed,
0 insertions(+),
11 deletions(-)
M
include/mgba/internal/gba/serialize.h
→
include/mgba/internal/gba/serialize.h
@@ -334,9 +334,6 @@
void GBASerialize(struct GBA* gba, struct GBASerializedState* state); bool GBADeserialize(struct GBA* gba, const struct GBASerializedState* state); -struct GBASerializedState* GBAAllocateState(void); -void GBADeallocateState(struct GBASerializedState* state); - CXX_GUARD_END #endif
M
src/gba/serialize.c
→
src/gba/serialize.c
@@ -206,11 +206,3 @@ gba->rr->stateLoaded(gba->rr, state);
} return true; } - -struct GBASerializedState* GBAAllocateState(void) { - return anonymousMemoryMap(sizeof(struct GBASerializedState)); -} - -void GBADeallocateState(struct GBASerializedState* state) { - mappedMemoryFree(state, sizeof(struct GBASerializedState)); -}