mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-17 15:59:57 +00:00
Remove config_save_keybinds
This commit is contained in:
parent
85eda3642a
commit
0c5a47bc63
@ -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);
|
||||
|
17
settings.c
17
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
|
||||
|
Loading…
Reference in New Issue
Block a user