mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 14:59:37 +00:00
(All other targets) Only save config if g_extern.config_path is
set
This commit is contained in:
parent
0977917837
commit
4dec0f271e
@ -263,7 +263,7 @@ exit:
|
||||
|
||||
menu_free();
|
||||
|
||||
if (g_extern.config_save_on_exit)
|
||||
if (g_extern.config_save_on_exit && *g_extern.config_path)
|
||||
config_save_file(g_extern.config_path);
|
||||
|
||||
if (g_extern.main_is_init)
|
||||
|
@ -93,7 +93,7 @@ int rarch_main(int argc, char *argv[])
|
||||
|
||||
menu_free();
|
||||
|
||||
if (g_extern.config_save_on_exit)
|
||||
if (g_extern.config_save_on_exit && *g_extern.config_path)
|
||||
config_save_file(g_extern.config_path);
|
||||
|
||||
if (g_extern.main_is_init)
|
||||
|
@ -213,7 +213,7 @@ int rarch_main(int argc, char *argv[])
|
||||
|
||||
menu_free();
|
||||
|
||||
if (g_extern.config_save_on_exit)
|
||||
if (g_extern.config_save_on_exit && *g_extern.config_path)
|
||||
config_save_file(g_extern.config_path);
|
||||
|
||||
#ifdef GEKKO
|
||||
|
@ -152,7 +152,7 @@ void* rarch_main_ios(void* args)
|
||||
|
||||
menu_free();
|
||||
|
||||
if (g_extern.config_save_on_exit)
|
||||
if (g_extern.config_save_on_exit && *g_extern.config_path)
|
||||
config_save_file(g_extern.config_path);
|
||||
|
||||
if (g_extern.main_is_init)
|
||||
|
Loading…
Reference in New Issue
Block a user