mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-04 10:36:50 +00:00
(Apple) Remove apple_core
This commit is contained in:
parent
d89b65140b
commit
95260e6b83
@ -40,7 +40,6 @@
|
||||
#endif
|
||||
|
||||
extern char** apple_argv;
|
||||
extern char apple_core[PATH_MAX];
|
||||
|
||||
extern id<RetroArch_Platform> apple_platform;
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
id<RetroArch_Platform> apple_platform;
|
||||
|
||||
#pragma mark EMULATION
|
||||
char apple_core[PATH_MAX];
|
||||
|
||||
void apple_rarch_exited(void)
|
||||
{
|
||||
@ -37,9 +36,6 @@ void apple_run_core(NSString* core, const char* file)
|
||||
int argc;
|
||||
|
||||
[apple_platform loadingCore:core withFile:file];
|
||||
|
||||
if (core.UTF8String && core.UTF8String[0] != '\0')
|
||||
strlcpy(apple_core, core.UTF8String, sizeof(apple_core));
|
||||
|
||||
if (file && core)
|
||||
{
|
||||
|
@ -559,7 +559,12 @@ static void RunActionSheet(const char* title, const struct string_list* items, U
|
||||
nil]];
|
||||
|
||||
[settings addObject:[RAMenuItemBasic itemWithDescription:BOXSTRING("Core")
|
||||
action:^{ [weakSelf.navigationController pushViewController:[[RACoreSettingsMenu alloc] initWithCore:BOXSTRING(apple_core)] animated:YES]; }]];
|
||||
action:^{
|
||||
char config_name[PATH_MAX];
|
||||
fill_pathname_base(config_name, g_settings.libretro, sizeof(config_name));
|
||||
|
||||
[weakSelf.navigationController pushViewController:[[RACoreSettingsMenu alloc] initWithCore:BOXSTRING(config_name)] animated:YES];
|
||||
}]];
|
||||
[settings addObject:[RAMenuItemBasic itemWithDescription:BOXSTRING("Core Options")
|
||||
action:^{ [weakSelf.navigationController pushViewController:[RACoreOptionsMenu new] animated:YES]; }]];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user