(QNX/BB) Save config file at exit - compile in config_save_file
for all targets from now on
This commit is contained in:
parent
41e5083f0c
commit
50b9248624
|
@ -87,6 +87,9 @@ int rarch_main(int argc, char *argv[])
|
|||
g_extern.system.shutdown = false;
|
||||
|
||||
menu_free();
|
||||
|
||||
config_save_file(g_extern.config_path);
|
||||
|
||||
if (g_extern.main_is_init)
|
||||
rarch_main_deinit();
|
||||
|
||||
|
|
|
@ -648,9 +648,7 @@ void settings_set(uint64_t settings);
|
|||
|
||||
#include "conf/config_file.h"
|
||||
bool config_load_file(const char *path);
|
||||
#ifdef RARCH_CONSOLE
|
||||
bool config_save_file(const char *path);
|
||||
#endif
|
||||
bool config_read_keybinds(const char *path);
|
||||
bool config_save_keybinds(const char *path);
|
||||
|
||||
|
|
|
@ -895,7 +895,6 @@ static void save_keybinds_player(config_file_t *conf, unsigned player)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef RARCH_CONSOLE
|
||||
bool config_save_file(const char *path)
|
||||
{
|
||||
config_file_t *conf = config_file_new(path);
|
||||
|
@ -999,7 +998,6 @@ bool config_save_file(const char *path)
|
|||
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
bool config_save_keybinds(const char *path)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue