mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
Fix OSX build (nw)
This commit is contained in:
parent
a23a0abc76
commit
8144b878ab
@ -204,7 +204,7 @@
|
||||
[dasmView selectSubviewForDevice:device];
|
||||
[window setTitle:[NSString stringWithFormat:@"Debug: %s - %s '%s'",
|
||||
device->machine().system().name,
|
||||
device->name(),
|
||||
device->name().c_str(),
|
||||
device->tag().c_str()]];
|
||||
}
|
||||
|
||||
|
@ -157,11 +157,11 @@
|
||||
toView:contentView];
|
||||
[self addLabel:@"Name:"
|
||||
withWidth:100
|
||||
andField:[NSString stringWithUTF8String:device->name()]
|
||||
andField:[NSString stringWithUTF8String:device->name().c_str()]
|
||||
toView:contentView];
|
||||
[self addLabel:@"Shortname:"
|
||||
withWidth:100
|
||||
andField:[NSString stringWithUTF8String:device->shortname()]
|
||||
andField:[NSString stringWithUTF8String:device->shortname().c_str()]
|
||||
toView:contentView];
|
||||
|
||||
// add interfaces if present
|
||||
|
@ -75,12 +75,12 @@
|
||||
|
||||
- (NSString *)tag {
|
||||
return (device == &machine->root_device()) ? @"<root>"
|
||||
: [NSString stringWithUTF8String:device->basetag()];
|
||||
: [NSString stringWithUTF8String:device->basetag().c_str()];
|
||||
}
|
||||
|
||||
|
||||
- (NSString *)name {
|
||||
return [NSString stringWithUTF8String:device->name()];
|
||||
return [NSString stringWithUTF8String:device->name().c_str()];
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user