mirror of
https://github.com/libretro/RetroArch
synced 2025-03-20 10:20:51 +00:00
Save autodetect_enable
This commit is contained in:
parent
eacc193d74
commit
ee18da7632
@ -1831,7 +1831,7 @@ void menu_set_settings_label(char *type_str, size_t type_str_size, unsigned *w,
|
||||
break;
|
||||
}
|
||||
case RGUI_SETTINGS_DEVICE_AUTODETECT_ENABLE:
|
||||
strlcpy(type_str, "Autodetect Enable", type_str_size);
|
||||
strlcpy(type_str, g_settings.input.autodetect_enable ? "ON" : "OFF", sizeof(type_str));
|
||||
break;
|
||||
case RGUI_SETTINGS_BIND_UP:
|
||||
case RGUI_SETTINGS_BIND_DOWN:
|
||||
|
@ -1148,6 +1148,7 @@ bool config_save_file(const char *path)
|
||||
config_set_string(conf, "game_history_path", g_settings.game_history_path);
|
||||
config_set_int(conf, "game_history_size", g_settings.game_history_size);
|
||||
config_set_string(conf, "joypad_autoconfig_dir", g_settings.input.autoconfig_dir);
|
||||
config_set_bool(conf, "input_autodetect_enable", g_settings.input.autodetect_enable);
|
||||
|
||||
#ifdef HAVE_OVERLAY
|
||||
config_set_string(conf, "overlay_directory", *g_extern.overlay_dir ? g_extern.overlay_dir : "default");
|
||||
|
Loading…
x
Reference in New Issue
Block a user