mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 00:49:47 +00:00
Make keybind loader public.
This commit is contained in:
parent
77e55bb577
commit
78136e0191
@ -400,7 +400,9 @@ void config_load(void);
|
||||
void config_set_defaults(void);
|
||||
|
||||
#ifdef HAVE_CONFIGFILE
|
||||
#include "conf/config_file.h"
|
||||
bool config_load_file(const char *path);
|
||||
void config_read_keybinds(config_file_t *conf);
|
||||
#endif
|
||||
|
||||
void ssnes_game_reset(void);
|
||||
|
@ -36,10 +36,6 @@ struct global g_extern;
|
||||
struct console_settings g_console;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CONFIGFILE
|
||||
static void read_keybinds(config_file_t *conf);
|
||||
#endif
|
||||
|
||||
void config_set_defaults(void)
|
||||
{
|
||||
const char *def_video = NULL;
|
||||
@ -499,7 +495,7 @@ bool config_load_file(const char *path)
|
||||
SSNES_WARN("savestate_directory is not a directory, ignoring ...\n");
|
||||
}
|
||||
|
||||
read_keybinds(conf);
|
||||
config_read_keybinds(conf);
|
||||
|
||||
config_file_free(conf);
|
||||
return true;
|
||||
@ -776,7 +772,7 @@ static void read_keybinds_player(config_file_t *conf, unsigned player)
|
||||
}
|
||||
}
|
||||
|
||||
static void read_keybinds(config_file_t *conf)
|
||||
void config_read_keybinds(config_file_t *conf)
|
||||
{
|
||||
for (unsigned i = 0; i < MAX_PLAYERS; i++)
|
||||
read_keybinds_player(conf, i);
|
||||
|
Loading…
Reference in New Issue
Block a user