summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/osd/sdl/debugosx.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/sdl/debugosx.m b/src/osd/sdl/debugosx.m
index ec8130f3022..fde397cf1d1 100644
--- a/src/osd/sdl/debugosx.m
+++ b/src/osd/sdl/debugosx.m
@@ -873,9 +873,9 @@ void console_create_window(running_machine *machine)
@implementation MAMEDisassemblyView
- (device_debug::breakpoint *)findBreakpointAtAddress:(offs_t)address inAddressSpace:(const address_space *)space {
- cpu_debug_data *cpuinfo = cpu_get_debug_data(space->cpu);
+ device_debug *cpuinfo = space->cpu->debug();
device_debug::breakpoint *bp;
- for (bp = cpuinfo->bplist; (bp != NULL) && (address != bp->address); bp = bp->next) {}
+ for (bp = cpuinfo->breakpoint_first(); (bp != NULL) && (address != bp->address()); bp = bp->next()) {}
return bp;
}
@@ -980,7 +980,7 @@ void console_create_window(running_machine *machine)
}
return haveCursor;
} else if (action == @selector(debugToggleBreakpointEnable:)) {
- if ((breakpoint != NULL) && !breakpoint->enabled) {
+ if ((breakpoint != NULL) && !breakpoint->enabled()) {
if (inContextMenu)
[item setTitle:@"Enable Breakpoint"];
else