mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
(Cocoa) Remove loadingCore
This commit is contained in:
parent
e1b697937a
commit
70ee864a9f
@ -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
|
||||
|
@ -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];
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user