diff options
author | 2010-08-19 07:26:14 +0000 | |
---|---|---|
committer | 2010-08-19 07:26:14 +0000 | |
commit | 3598b772bc80b2efb6396c65996462b38eedc593 (patch) | |
tree | e975a31f1f8599b8a947b11675b674fd993accf2 /src/osd/sdl/debugosx.m | |
parent | dd19e512c03c58a100ae5025c9fd7624387667fd (diff) |
Replace "const address_space" with "address_space" throughout the system.
The purpose of making it const before was to discourage direct tampering,
but private/protected does a better job of that now anyhow, and it is
annoying now.
s/const[ \t]+address_space\b/address_space/g;
Is basically what I did.
Diffstat (limited to 'src/osd/sdl/debugosx.m')
-rw-r--r-- | src/osd/sdl/debugosx.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/osd/sdl/debugosx.m b/src/osd/sdl/debugosx.m index bd12c85ecca..ba3107b6cc1 100644 --- a/src/osd/sdl/debugosx.m +++ b/src/osd/sdl/debugosx.m @@ -878,7 +878,7 @@ void console_create_window(running_machine *machine) @implementation MAMEDisassemblyView -- (device_debug::breakpoint *)findBreakpointAtAddress:(offs_t)address inAddressSpace:(const address_space *)space { +- (device_debug::breakpoint *)findBreakpointAtAddress:(offs_t)address inAddressSpace:(address_space *)space { device_debug *cpuinfo = space->cpu->debug(); device_debug::breakpoint *bp; for (bp = cpuinfo->breakpoint_first(); (bp != NULL) && (address != bp->address()); bp = bp->next()) {} @@ -1081,7 +1081,7 @@ void console_create_window(running_machine *machine) - (IBAction)debugToggleBreakpoint:(id)sender { if (view->cursor_visible()) { - const address_space *space = downcast<const debug_view_disasm_source *>(view->source())->space(); + address_space *space = downcast<const debug_view_disasm_source *>(view->source())->space(); if (!useConsole || (debug_cpu_get_visible_cpu(machine) == space->cpu)) { offs_t address = downcast<debug_view_disasm *>(view)->selected_address(); device_debug::breakpoint *bp = [self findBreakpointAtAddress:address inAddressSpace:space]; @@ -1107,7 +1107,7 @@ void console_create_window(running_machine *machine) - (IBAction)debugToggleBreakpointEnable:(id)sender { if (view->cursor_visible()) { - const address_space *space = downcast<const debug_view_disasm_source *>(view->source())->space(); + address_space *space = downcast<const debug_view_disasm_source *>(view->source())->space(); if (!useConsole || (debug_cpu_get_visible_cpu(machine) == space->cpu)) { offs_t address = downcast<debug_view_disasm *>(view)->selected_address(); device_debug::breakpoint *bp = [self findBreakpointAtAddress:address inAddressSpace:space]; @@ -1131,7 +1131,7 @@ void console_create_window(running_machine *machine) - (IBAction)debugRunToCursor:(id)sender { if (view->cursor_visible()) { - const address_space *space = downcast<const debug_view_disasm_source *>(view->source())->space(); + address_space *space = downcast<const debug_view_disasm_source *>(view->source())->space(); if (debug_cpu_get_visible_cpu(machine) == space->cpu) { offs_t address = downcast<debug_view_disasm *>(view)->selected_address(); if (useConsole) { |