mirror of
https://github.com/libretro/RetroArch
synced 2025-03-23 19:21:03 +00:00
Get rid of apple_refresh_config
This commit is contained in:
parent
2485ee1e98
commit
336f740e2a
@ -82,21 +82,6 @@ void apple_event_basic_command(enum basic_event_t action)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void apple_refresh_config(void)
|
|
||||||
{
|
|
||||||
// Little nudge to prevent stale values when reloading the config file
|
|
||||||
g_extern.block_config_read = false;
|
|
||||||
memset(g_settings.input.overlay, 0, sizeof(g_settings.input.overlay));
|
|
||||||
memset(g_settings.video.shader_path, 0, sizeof(g_settings.video.shader_path));
|
|
||||||
|
|
||||||
if (!g_extern.main_is_init)
|
|
||||||
return;
|
|
||||||
|
|
||||||
uninit_drivers();
|
|
||||||
config_load();
|
|
||||||
init_drivers();
|
|
||||||
}
|
|
||||||
|
|
||||||
int apple_rarch_load_content(int *argc, char* argv[])
|
int apple_rarch_load_content(int *argc, char* argv[])
|
||||||
{
|
{
|
||||||
rarch_main_clear_state();
|
rarch_main_clear_state();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user