mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
start adding auto loading for remap files
This commit is contained in:
parent
d4c52008a0
commit
9b2ee5daaf
@ -1742,6 +1742,21 @@ bool config_load_override(void)
|
|||||||
return true; /* only means no errors were caught */
|
return true; /* only means no errors were caught */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* config_load_remap:
|
||||||
|
*
|
||||||
|
* Tries to append game-specific and core-specific remap files.
|
||||||
|
*
|
||||||
|
* This function only has an effect if a game-specific or core-specific
|
||||||
|
* configuration file exists at respective locations.
|
||||||
|
*
|
||||||
|
* core-specific: $REMAP_DIR/$CORE_NAME/$CORE_NAME.cfg
|
||||||
|
* game-specific: $REMAP_DIR/$CORE_NAME/$GAME_NAME.cfg
|
||||||
|
*
|
||||||
|
* Returns: false if there was an error.
|
||||||
|
*/
|
||||||
|
bool config_load_remap(void);
|
||||||
|
|
||||||
static void parse_config_file(void)
|
static void parse_config_file(void)
|
||||||
{
|
{
|
||||||
global_t *global = global_get_ptr();
|
global_t *global = global_get_ptr();
|
||||||
|
@ -412,6 +412,16 @@ void config_load(void);
|
|||||||
*/
|
*/
|
||||||
bool config_load_override(void);
|
bool config_load_override(void);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* config_load_remap:
|
||||||
|
*
|
||||||
|
* Tries to append game-specific and core-specific remap files.
|
||||||
|
*
|
||||||
|
* Returns: false if there was an error.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
bool config_load_remap(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* config_save_keybinds_file:
|
* config_save_keybinds_file:
|
||||||
* @path : Path that shall be written to.
|
* @path : Path that shall be written to.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user