mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 06:18:34 +00:00
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,
|
||||
bool wraparound)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
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];
|
||||
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)
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user