summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Wilbert Pol <wilbert@jdg.info>2010-07-06 16:59:04 +0000
committer Wilbert Pol <wilbert@jdg.info>2010-07-06 16:59:04 +0000
commitbcd97e988006c46c8c42bb7e2b104e29c205ccf2 (patch)
tree7ebda37f50f2f605a87687944ee6ea2936fd7e86
parentd7482052eac448f39570d5138801f284d36f3079 (diff)
Fix compiling of osx debugger.
-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