mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Set default core specific config correctly.
This commit is contained in:
parent
61d2b49a1d
commit
dacb84c7db
@ -401,6 +401,7 @@ void config_set_defaults(void)
|
|||||||
*g_settings.rgui_content_directory = '\0';
|
*g_settings.rgui_content_directory = '\0';
|
||||||
*g_settings.rgui_config_directory = '\0';
|
*g_settings.rgui_config_directory = '\0';
|
||||||
#endif
|
#endif
|
||||||
|
g_settings.core_specific_config = default_core_specific_config;
|
||||||
|
|
||||||
#ifdef RARCH_CONSOLE
|
#ifdef RARCH_CONSOLE
|
||||||
g_extern.lifecycle_state |= (1ULL << MODE_MENU_PREINIT);
|
g_extern.lifecycle_state |= (1ULL << MODE_MENU_PREINIT);
|
||||||
@ -411,8 +412,6 @@ void config_set_defaults(void)
|
|||||||
g_settings.video.msg_pos_y = 0.90f;
|
g_settings.video.msg_pos_y = 0.90f;
|
||||||
g_settings.video.aspect_ratio = -1.0f;
|
g_settings.video.aspect_ratio = -1.0f;
|
||||||
|
|
||||||
g_settings.core_specific_config = default_core_specific_config;
|
|
||||||
|
|
||||||
// g_extern
|
// g_extern
|
||||||
strlcpy(g_extern.savefile_dir, default_paths.sram_dir, sizeof(g_extern.savefile_dir));
|
strlcpy(g_extern.savefile_dir, default_paths.sram_dir, sizeof(g_extern.savefile_dir));
|
||||||
g_extern.console.screen.gamma_correction = DEFAULT_GAMMA;
|
g_extern.console.screen.gamma_correction = DEFAULT_GAMMA;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user