mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-12 20:58:18 +00:00
(iOS) Stub out core_info_get_custom_config code for now
This commit is contained in:
parent
f0d9fde5b6
commit
967edbb0e8
@ -549,6 +549,7 @@ static void RunActionSheet(const char* title, const struct string_list* items, U
|
||||
[RAMenuItemBasic itemWithDescription:BOXSTRING("Core")
|
||||
action:^{ [weakSelf chooseCoreWithPath:nil]; }
|
||||
detail:^{
|
||||
|
||||
const core_info_t *core = (const core_info_t*)core_info_list_get_by_id(weakSelf.core.UTF8String);
|
||||
|
||||
if (weakSelf.core)
|
||||
@ -798,7 +799,6 @@ static void RunActionSheet(const char* title, const struct string_list* items, U
|
||||
|
||||
- (id)initWithCore:(NSString*)core
|
||||
{
|
||||
char buffer[PATH_MAX];
|
||||
|
||||
RACoreSettingsMenu* __weak weakSelf = self;
|
||||
|
||||
@ -808,6 +808,9 @@ static void RunActionSheet(const char* title, const struct string_list* items, U
|
||||
rarch_setting_t *setting_data, *setting;
|
||||
NSMutableArray* settings;
|
||||
|
||||
#if 0
|
||||
char buffer[PATH_MAX];
|
||||
/* TODO - reimplement or get rid of it. */
|
||||
_isCustom = core_info_get_custom_config(core.UTF8String, buffer, sizeof(buffer));
|
||||
if (_isCustom)
|
||||
{
|
||||
@ -817,6 +820,7 @@ static void RunActionSheet(const char* title, const struct string_list* items, U
|
||||
self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemTrash target:self action:@selector(deleteCustom)];
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
self.title = BOXSTRING("Global Core Config");
|
||||
_pathToSave = BOXSTRING(g_defaults.config_path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user