mirror of
https://github.com/libretro/RetroArch
synced 2025-01-18 13:23:40 +00:00
Cleanup OSX/platform.m
This commit is contained in:
parent
3c569cdda2
commit
1f5ede2c48
@ -24,7 +24,6 @@
|
||||
|
||||
#include <objc/objc-runtime.h>
|
||||
|
||||
static void* const associated_core_key = (void*)&associated_core_key;
|
||||
id<RetroArch_Platform> apple_platform;
|
||||
|
||||
void apple_rarch_exited(void);
|
||||
@ -335,14 +334,6 @@ static void poll_iteration(void)
|
||||
if (global && global->system.shutdown)
|
||||
return;
|
||||
|
||||
/* TODO - rewrite this. */
|
||||
|
||||
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
|
||||
|
||||
if (global && !global->main_is_init)
|
||||
{
|
||||
/* TODO/FIXME: Set core/content here. */
|
||||
|
Loading…
Reference in New Issue
Block a user