diff --git a/general.h b/general.h index cb287166d6..5c4c1ab14f 100644 --- a/general.h +++ b/general.h @@ -689,7 +689,6 @@ void settings_set(uint64_t settings); bool config_load_file(const char *path); bool config_save_file(const char *path); bool config_read_keybinds(const char *path); -bool config_save_keybinds(const char *path); void rarch_game_reset(void); void rarch_main_clear_state(void); diff --git a/settings.c b/settings.c index cf36236a4a..75a5f3ebab 100644 --- a/settings.c +++ b/settings.c @@ -1113,23 +1113,6 @@ bool config_save_file(const char *path) return ret; } -// FIXME: This is probably obsolete now. -bool config_save_keybinds(const char *path) -{ - config_file_t *conf = config_file_new(path); - if (!conf) - conf = config_file_new(NULL); - if (!conf) - return NULL; - - for (unsigned i = 0; i < MAX_PLAYERS; i++) - save_keybinds_player(conf, i); - - config_file_write(conf, path); - config_file_free(conf); - return true; -} - void settings_set(uint64_t settings) { #ifdef HAVE_OVERLAY