save core specific config option

This commit is contained in:
Toad King 2014-01-01 14:52:35 -05:00
parent 0a91c528f9
commit 5215a7cf24
2 changed files with 5 additions and 0 deletions

View File

@ -59,6 +59,9 @@
# Overwrites the config. #include's and comments are not preserved.
# config_save_on_exit = false
# Load up a specific config file based on the core being used.
# core_specific_config = false
#### Video
# Video driver to use. "gl", "xvideo", "sdl"

View File

@ -1277,6 +1277,8 @@ bool config_save_file(const char *path)
for (i = 0; i < MAX_PLAYERS; i++)
save_keybinds_player(conf, i);
config_set_bool(conf, "core_specific_config", g_settings.core_specific_config);
bool ret = config_file_write(conf, path);
config_file_free(conf);
return ret;