mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Cleanups
This commit is contained in:
parent
7a2d09b4bf
commit
a097ad8a2e
1 changed files with 0 additions and 5 deletions
|
@ -23,7 +23,6 @@
|
||||||
#include "input_remapping.h"
|
#include "input_remapping.h"
|
||||||
#include "../configuration.h"
|
#include "../configuration.h"
|
||||||
#include "../retroarch.h"
|
#include "../retroarch.h"
|
||||||
#include "../verbosity.h"
|
|
||||||
|
|
||||||
static unsigned old_analog_dpad_mode[MAX_USERS];
|
static unsigned old_analog_dpad_mode[MAX_USERS];
|
||||||
static unsigned old_libretro_device[MAX_USERS];
|
static unsigned old_libretro_device[MAX_USERS];
|
||||||
|
@ -113,15 +112,11 @@ bool input_remapping_load_file(void *data, const char *path)
|
||||||
s3,
|
s3,
|
||||||
key_strings[j]);
|
key_strings[j]);
|
||||||
|
|
||||||
/* RARCH_LOG("pre_ident: %s:%d\n", stk_ident[j], settings->uints.input_remap_ids[i][j]); */
|
|
||||||
|
|
||||||
if (config_get_int(conf, stk_ident[k], &stk_remap) && stk_remap != -1)
|
if (config_get_int(conf, stk_ident[k], &stk_remap) && stk_remap != -1)
|
||||||
settings->uints.input_remap_ids[i][j] = stk_remap;
|
settings->uints.input_remap_ids[i][j] = stk_remap;
|
||||||
else if (config_get_int(conf, stk_ident[k], &stk_remap) && stk_remap == -1)
|
else if (config_get_int(conf, stk_ident[k], &stk_remap) && stk_remap == -1)
|
||||||
settings->uints.input_remap_ids[i][j] = RARCH_UNMAPPED;
|
settings->uints.input_remap_ids[i][j] = RARCH_UNMAPPED;
|
||||||
/* else do nothing, important */
|
/* else do nothing, important */
|
||||||
|
|
||||||
/*RARCH_LOG("stk_ident: %s:%d\n", stk_ident[j], settings->uints.input_remap_ids[i][j]);*/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue