From 74c5d5d1d8bcdaca3febd8911ccee8d8b253c962 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Fri, 17 Oct 2014 17:07:00 +0200 Subject: [PATCH] (OSX) Kill off core list combobox code - Creating the NSComboBox for available cores will be done differently under the presumption that RetroArch will always be running - no need for a cached list to keep around --- apple/OSX/platform.m | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/apple/OSX/platform.m b/apple/OSX/platform.m index 412f71ea03..4e134e50ec 100644 --- a/apple/OSX/platform.m +++ b/apple/OSX/platform.m @@ -147,23 +147,6 @@ static char** waiting_argv; self.settingsWindow = [[[NSWindowController alloc] initWithWindowNibName:BOXSTRING("Settings")] autorelease]; - // Warn if there are no cores present - core_info_set_core_path(); - const core_info_list_t* core_list = (const core_info_list_t*)core_info_list_get(); - - // Create core select list - NSComboBox* cb = (NSComboBox*)[[self.coreSelectSheet contentView] viewWithTag:1]; - - for (size_t i = 0; core_list && i < core_list->count; i ++) - { - NSString* desc = (NSString*)BOXSTRING(core_list->list[i].display_name); -#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 */ - objc_setAssociatedObject(desc, associated_core_key, BOXSTRING(core_list->list[i].path), OBJC_ASSOCIATION_RETAIN_NONATOMIC); -#endif - [cb addItemWithObjectValue:desc]; - } - apple_run_core(waiting_argc, waiting_argv); waiting_argc = 0;