mirror of
https://github.com/libretro/mgba.git
synced 2024-11-24 08:30:30 +00:00
LR35902: Fix breakpoint clearing breaking memory access
This commit is contained in:
parent
f1a9ebec8a
commit
2c09e6318b
@ -99,6 +99,7 @@ struct mDebuggerPlatform* LR35902DebuggerPlatformCreate(void) {
|
||||
void LR35902DebuggerInit(void* cpu, struct mDebuggerPlatform* platform) {
|
||||
struct LR35902Debugger* debugger = (struct LR35902Debugger*) platform;
|
||||
debugger->cpu = cpu;
|
||||
debugger->originalMemory = debugger->cpu->memory;
|
||||
LR35902DebugBreakpointListInit(&debugger->breakpoints, 0);
|
||||
LR35902DebugWatchpointListInit(&debugger->watchpoints, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user