Skip to content

Commit

Permalink
Argh, stupid .m files.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsgiles committed Jan 1, 2011
1 parent 99a26bc commit 237d8dd
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/osd/sdl/debugosx.m
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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 ) {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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 ) {
Expand Down Expand Up @@ -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);


Expand Down Expand Up @@ -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));
}
Expand Down Expand Up @@ -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];
Expand Down Expand Up @@ -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'",
Expand Down Expand Up @@ -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];
Expand Down

0 comments on commit 237d8dd

Please sign in to comment.