Remove config_save_keybinds

This commit is contained in:
twinaphex 2013-09-30 21:51:41 +02:00
parent 85eda3642a
commit 0c5a47bc63
2 changed files with 0 additions and 18 deletions

View File

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

View File

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