mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(OSX PPC) More ifdeffing to get RA OSX PPC to compile and link -
doesn't work right now
This commit is contained in:
parent
d290cda2a9
commit
9b69deaa12
@ -272,7 +272,10 @@ static char** waiting_argv;
|
||||
return;
|
||||
|
||||
NSComboBox* cb = (NSComboBox*)[[self.coreSelectSheet contentView] viewWithTag:1];
|
||||
#if defined(MAC_OS_X_VERSION_10_6)
|
||||
/* FIXME - Rewrite this so that this is no longer an associated object - requires ObjC 2.0 runtime */
|
||||
self.core = objc_getAssociatedObject([cb objectValueOfSelectedItem], associated_core_key);
|
||||
#endif
|
||||
|
||||
[self runCore];
|
||||
}
|
||||
|
@ -220,7 +220,12 @@ NSWindowDelegate>
|
||||
|
||||
- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row
|
||||
{
|
||||
#if defined(MAC_OS_X_VERSION_10_6)
|
||||
return objc_getAssociatedObject([self.settings objectAtIndex:row], associated_name_tag);
|
||||
#else
|
||||
/* FIXME - Rewrite this so that this is no longer an associated object - requires ObjC 2.0 runtime */
|
||||
return 0; /* stub */
|
||||
#endif
|
||||
}
|
||||
|
||||
- (void)tableViewSelectionDidChange:(NSNotification *)aNotification
|
||||
@ -257,9 +262,12 @@ NSWindowDelegate>
|
||||
|
||||
if ([item isKindOfClass:[NSArray class]])
|
||||
{
|
||||
#ifdef MAC_OS_X_VERSION_10_6
|
||||
/* FIXME - Rewrite this so that this is no longer an associated object - requires ObjC 2.0 runtime */
|
||||
if ([[tableColumn identifier] isEqualToString:@"left"])
|
||||
return objc_getAssociatedObject(item, associated_name_tag);
|
||||
else
|
||||
#endif
|
||||
return @"";
|
||||
}
|
||||
else
|
||||
|
@ -298,7 +298,9 @@
|
||||
"-DWANT_MINIZ,",
|
||||
"-DHAVE_ZLIB,",
|
||||
"-DRARCH_INTERNAL,",
|
||||
"-DOSX",
|
||||
"-DOSX,",
|
||||
"-DHAVE_GLSL,",
|
||||
"-DHAVE_RGUI",
|
||||
);
|
||||
PREBINDING = NO;
|
||||
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO;
|
||||
@ -323,7 +325,9 @@
|
||||
"-DWANT_MINIZ,",
|
||||
"-DHAVE_ZLIB,",
|
||||
"-DRARCH_INTERNAL,",
|
||||
"-DOSX",
|
||||
"-DOSX,",
|
||||
"-DHAVE_GLSL,",
|
||||
"-DHAVE_RGUI",
|
||||
);
|
||||
PREBINDING = NO;
|
||||
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO;
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user