mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Rename config_init to rarch_config_init to avoid collision
with cores that might use this symbol name
This commit is contained in:
parent
8c17f12f97
commit
5a9c0da282
@ -640,13 +640,9 @@ void config_free(void)
|
||||
configuration_settings = NULL;
|
||||
}
|
||||
|
||||
bool config_init(void)
|
||||
void rarch_config_init(void)
|
||||
{
|
||||
configuration_settings = (settings_t*)calloc(1, sizeof(settings_t));
|
||||
|
||||
if (!configuration_settings)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -785,7 +785,7 @@ bool config_save_overrides(int override_type);
|
||||
* properly. */
|
||||
bool config_replace(bool config_save_on_exit, char *path);
|
||||
|
||||
bool config_init(void);
|
||||
void rarch_config_init(void);
|
||||
|
||||
bool config_overlay_enable_default(void);
|
||||
|
||||
|
@ -2247,7 +2247,7 @@ bool rarch_ctl(enum rarch_ctl_state state, void *data)
|
||||
libretro_free_system_info(&runloop_system.info);
|
||||
command_event(CMD_EVENT_HISTORY_DEINIT, NULL);
|
||||
|
||||
config_init();
|
||||
rarch_config_init();
|
||||
|
||||
driver_ctl(RARCH_DRIVER_CTL_DEINIT, NULL);
|
||||
rarch_ctl(RARCH_CTL_STATE_FREE, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user