mirror of
https://github.com/holub/mame
synced 2025-05-16 10:52:43 +03:00
Fix osx compile.
This commit is contained in:
parent
399c6e8c26
commit
f3916bed57
@ -1746,7 +1746,7 @@ void console_create_window(running_machine *machine)
|
|||||||
[regView selectSubviewForCPU:device];
|
[regView selectSubviewForCPU:device];
|
||||||
[dasmView selectSubviewForCPU:device];
|
[dasmView selectSubviewForCPU:device];
|
||||||
[window setTitle:[NSString stringWithFormat:@"Debug: %s - %s '%s'",
|
[window setTitle:[NSString stringWithFormat:@"Debug: %s - %s '%s'",
|
||||||
device->machine->gamedrv->name,
|
device->machine->system().name,
|
||||||
device->name(),
|
device->name(),
|
||||||
device->tag()]];
|
device->tag()]];
|
||||||
}
|
}
|
||||||
@ -2297,8 +2297,8 @@ void console_create_window(running_machine *machine)
|
|||||||
NSString *title;
|
NSString *title;
|
||||||
|
|
||||||
title = [NSString stringWithFormat:@"Error Log: %@ [%@]",
|
title = [NSString stringWithFormat:@"Error Log: %@ [%@]",
|
||||||
[NSString stringWithUTF8String:m->gamedrv->description],
|
[NSString stringWithUTF8String:m->system().description],
|
||||||
[NSString stringWithUTF8String:m->gamedrv->name]];
|
[NSString stringWithUTF8String:m->system().name]];
|
||||||
if (!(self = [super initWithMachine:m title:title console:c]))
|
if (!(self = [super initWithMachine:m title:title console:c]))
|
||||||
return nil;
|
return nil;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user