all repos — mgba @ 5a1e68beba0084182dbad7f1a457d93b38a49665

mGBA Game Boy Advance Emulator

ARM Debugger: Fix debugger API misdeclaration
Vicki Pfau vi@endrift.com
Mon, 02 Nov 2020 00:42:56 -0800
commit

5a1e68beba0084182dbad7f1a457d93b38a49665

parent

e9b51903691eb4f841b41f63a74f05ba968ea7eb

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

jump to
M include/mgba/internal/arm/debugger/debugger.hinclude/mgba/internal/arm/debugger/debugger.h

@@ -40,7 +40,7 @@ uint32_t stackTraceMode;

void (*entered)(struct mDebugger*, enum mDebuggerEntryReason, struct mDebuggerEntryInfo*); - ssize_t (*setSoftwareBreakpoint)(struct ARMDebugger*, uint32_t address, enum ExecutionMode mode, uint32_t* opcode); + bool (*setSoftwareBreakpoint)(struct ARMDebugger*, uint32_t address, enum ExecutionMode mode, uint32_t* opcode); void (*clearSoftwareBreakpoint)(struct ARMDebugger*, const struct ARMDebugBreakpoint*); };