(All other targets) Only save config if g_extern.config_path is

set
This commit is contained in:
twinaphex 2013-05-22 22:59:55 +02:00
parent 0977917837
commit 4dec0f271e
4 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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

View File

@ -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)