all repos — mgba @ 417012632c19be49e5e4d28b70a6f76a392f0b1a

mGBA Game Boy Advance Emulator

GBA Serialize: Remove unused function
Vicki Pfau vi@endrift.com
Wed, 26 Apr 2017 19:40:54 -0700
commit

417012632c19be49e5e4d28b70a6f76a392f0b1a

parent

2fdb5a1ff950ed4a7b8b9134a1c76a4087bc4997

2 files changed, 0 insertions(+), 11 deletions(-)

jump to
M include/mgba/internal/gba/serialize.hinclude/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.csrc/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)); -}