From 237d8ddce9fbd041cb52f6916ba99c7825df4ea0 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sat, 1 Jan 2011 01:18:14 +0000 Subject: [PATCH] Argh, stupid .m files. --- src/osd/sdl/debugosx.m | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/osd/sdl/debugosx.m b/src/osd/sdl/debugosx.m index 50482bc745920..001b2a3bbe4b9 100644 --- a/src/osd/sdl/debugosx.m +++ b/src/osd/sdl/debugosx.m @@ -75,7 +75,7 @@ // sdl_osd_interface::wait_for_debugger //============================================================ -void sdl_osd_interface::wait_for_debugger(running_device &device, bool firststop) +void sdl_osd_interface::wait_for_debugger(device_t &device, bool firststop) { // create a console window if (main_console == nil) @@ -735,7 +735,7 @@ - (BOOL)validateMenuItem:(NSMenuItem *)item { - (NSSize)maximumFrameSize { debug_view_xy max; - running_device *curcpu = debug_cpu_get_visible_cpu(machine); + device_t *curcpu = debug_cpu_get_visible_cpu(machine); const debug_view_source *source = view->source_list().match_device(curcpu); max.x = max.y = 0; @@ -782,7 +782,7 @@ - (void)selectSubviewAtIndex:(int)index { } -- (void)selectSubviewForCPU:(running_device *)device { +- (void)selectSubviewForCPU:(device_t *)device { const debug_view_source *selected = view->source(); const debug_view_source *source = view->source_list().match_device(device); if ( selected != source ) { @@ -1020,7 +1020,7 @@ - (BOOL)validateMenuItem:(NSMenuItem *)item { - (NSSize)maximumFrameSize { debug_view_xy max; - running_device *curcpu = debug_cpu_get_visible_cpu(machine); + device_t *curcpu = debug_cpu_get_visible_cpu(machine); const debug_view_source *source = view->source_list().match_device(curcpu); max.x = max.y = 0; @@ -1067,7 +1067,7 @@ - (void)selectSubviewAtIndex:(int)index { } -- (void)selectSubviewForCPU:(running_device *)device { +- (void)selectSubviewForCPU:(device_t *)device { const debug_view_source *selected = view->source(); const debug_view_source *source = view->source_list().match_device(device); if ( selected != source ) { @@ -1258,7 +1258,7 @@ - (void)dealloc { - (NSSize)maximumFrameSize { debug_view_xy max; - running_device *curcpu = debug_cpu_get_visible_cpu(machine); + device_t *curcpu = debug_cpu_get_visible_cpu(machine); const debug_view_source *source = view->source_list().match_device(curcpu); @@ -1292,7 +1292,7 @@ - (void)selectSubviewAtIndex:(int)index { } -- (void)selectSubviewForCPU:(running_device *)device { +- (void)selectSubviewForCPU:(device_t *)device { //dv = get_view(dmain, DVT_STATE); view->set_source(*view->source_list().match_device(device)); } @@ -1542,7 +1542,7 @@ - (IBAction)debugExit:(id)sender { - (void)showDebugger:(NSNotification *)notification { - running_device *device = (running_device *) [[[notification userInfo] objectForKey:@"MAMEDebugDevice"] pointerValue]; + device_t *device = (device_t *) [[[notification userInfo] objectForKey:@"MAMEDebugDevice"] pointerValue]; if (device->machine == machine) { if (![window isVisible] && ![window isMiniaturized]) [window orderFront:self]; @@ -1742,7 +1742,7 @@ - (void)dealloc { } -- (void)setCPU:(running_device *)device { +- (void)setCPU:(device_t *)device { [regView selectSubviewForCPU:device]; [dasmView selectSubviewForCPU:device]; [window setTitle:[NSString stringWithFormat:@"Debug: %s - %s '%s'", @@ -1789,7 +1789,7 @@ - (IBAction)debugNewErrorLogWindow:(id)sender { - (void)showDebugger:(NSNotification *)notification { - running_device *device = (running_device * )[[[notification userInfo] objectForKey:@"MAMEDebugDevice"] pointerValue]; + device_t *device = (device_t * )[[[notification userInfo] objectForKey:@"MAMEDebugDevice"] pointerValue]; if (device->machine == machine) { [self setCPU:device]; [window makeKeyAndOrderFront:self];