diff --git a/ui/drivers/cocoa/cocoa_common.h b/ui/drivers/cocoa/cocoa_common.h index ffaa3f3fb7..fc5b13314b 100644 --- a/ui/drivers/cocoa/cocoa_common.h +++ b/ui/drivers/cocoa/cocoa_common.h @@ -25,7 +25,6 @@ #include "../../menu/menu.h" @protocol RetroArch_Platform -- (void)loadingCore:(NSString*)core withFile:(const char*)file; - (void)unloadingCore; @end @@ -209,7 +208,6 @@ void get_ios_version(int *major, int *minor); @property (nonatomic, retain) NSWindow IBOutlet* window; -- (void)loadingCore:(NSString*)core withFile:(const char*)file; - (void)unloadingCore; @end diff --git a/ui/drivers/ui_cocoa.m b/ui/drivers/ui_cocoa.m index 1da88bab09..916aa7bd5f 100644 --- a/ui/drivers/ui_cocoa.m +++ b/ui/drivers/ui_cocoa.m @@ -172,8 +172,6 @@ static char** waiting_argv; [self.window makeFirstResponder:[CocoaView get]]; self.settingsWindow = [[[NSWindowController alloc] initWithWindowNibName:BOXSTRING("Settings")] autorelease]; - - [apple_platform loadingCore:nil withFile:nil]; if (rarch_main(waiting_argc, waiting_argv, NULL)) apple_rarch_exited(); @@ -305,12 +303,6 @@ static void poll_iteration(void) [[NSApplication sharedApplication] runModalForWindow:panel]; } -- (void)loadingCore:(const NSString*)core withFile:(const char*)file -{ - if (file) - [[NSDocumentController sharedDocumentController] noteNewRecentDocumentURL:[NSURL fileURLWithPath:BOXSTRING(file)]]; -} - - (void)unloadingCore { [[NSApplication sharedApplication] terminate:nil]; diff --git a/ui/drivers/ui_cocoatouch.m b/ui/drivers/ui_cocoatouch.m index 442502e30d..d410f00938 100644 --- a/ui/drivers/ui_cocoatouch.m +++ b/ui/drivers/ui_cocoatouch.m @@ -288,7 +288,10 @@ enum [self pushViewController:[RAMainMenu new] animated:YES]; - [apple_platform loadingCore:nil withFile:nil]; + btpad_set_inquiry_state(false); + + [self refreshSystemConfig]; + [self showGameView]; if (rarch_main(0, NULL, NULL)) apple_rarch_exited(); @@ -403,10 +406,7 @@ enum - (void)loadingCore:(NSString*)core withFile:(const char*)file { - btpad_set_inquiry_state(false); - - [self refreshSystemConfig]; - [self showGameView]; + } - (void)toggleUI