Cleanups
This commit is contained in:
parent
49cf80db10
commit
e931bad7d1
|
@ -106,12 +106,12 @@ int action_right_cheat(unsigned type, const char *label,
|
||||||
int action_right_input_desc_kbd(unsigned type, const char *label,
|
int action_right_input_desc_kbd(unsigned type, const char *label,
|
||||||
bool wraparound)
|
bool wraparound)
|
||||||
{
|
{
|
||||||
settings_t *settings = config_get_ptr();
|
|
||||||
unsigned key_id;
|
unsigned key_id;
|
||||||
unsigned offset = type - MENU_SETTINGS_INPUT_DESC_KBD_BEGIN;
|
|
||||||
unsigned remap_id =
|
|
||||||
settings->uints.input_keymapper_ids[offset];
|
|
||||||
char desc[PATH_MAX_LENGTH];
|
char desc[PATH_MAX_LENGTH];
|
||||||
|
unsigned offset = type - MENU_SETTINGS_INPUT_DESC_KBD_BEGIN;
|
||||||
|
settings_t *settings = config_get_ptr();
|
||||||
|
unsigned remap_id =
|
||||||
|
settings->uints.input_keymapper_ids[offset];
|
||||||
|
|
||||||
if (!settings)
|
if (!settings)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue