all repos — mgba @ 38aac38a0c4b383ab8fde6d195b92a6b18b23d15

mGBA Game Boy Advance Emulator

Remove obsolete, dead code
Jeffrey Pfau jeffrey@endrift.com
Sat, 01 Feb 2014 01:41:25 -0800
commit

38aac38a0c4b383ab8fde6d195b92a6b18b23d15

parent

6616ca9111785abada65142442c51a84dc0c804d

1 files changed, 0 insertions(+), 25 deletions(-)

jump to
M src/debugger/memory-debugger.csrc/debugger/memory-debugger.c

@@ -48,31 +48,6 @@ debugger->memoryShim.d.waitMultiple = ARMDebuggerShim_waitMultiple;

debugger->cpu->memory = &debugger->memoryShim.d; } -int32_t ARMDebuggerLoad32(struct ARMMemory* memory, uint32_t address, int* cycleCounter) { - struct DebugMemoryShim* debugMemory = (struct DebugMemoryShim*) memory; - return debugMemory->original->load32(debugMemory->original, address, cycleCounter); -} - -int16_t ARMDebuggerLoad16(struct ARMMemory* memory, uint32_t address, int* cycleCounter) { - struct DebugMemoryShim* debugMemory = (struct DebugMemoryShim*) memory; - return debugMemory->original->load16(debugMemory->original, address, cycleCounter); -} - -uint16_t ARMDebuggerLoadU16(struct ARMMemory* memory, uint32_t address, int* cycleCounter) { - struct DebugMemoryShim* debugMemory = (struct DebugMemoryShim*) memory; - return debugMemory->original->loadU16(debugMemory->original, address, cycleCounter); -} - -int8_t ARMDebuggerLoad8(struct ARMMemory* memory, uint32_t address, int* cycleCounter) { - struct DebugMemoryShim* debugMemory = (struct DebugMemoryShim*) memory; - return debugMemory->original->load8(debugMemory->original, address, cycleCounter); -} - -uint8_t ARMDebuggerLoadU8(struct ARMMemory* memory, uint32_t address, int* cycleCounter) { - struct DebugMemoryShim* debugMemory = (struct DebugMemoryShim*) memory; - return debugMemory->original->loadU8(debugMemory->original, address, cycleCounter); -} - void ARMDebuggerShim_store32(struct ARMMemory* memory, uint32_t address, int32_t value, int* cycleCounter) { struct DebugMemoryShim* debugMemory = (struct DebugMemoryShim*) memory; if (_checkWatchpoints(debugMemory->watchpoints, address, 4)) {