This commit is contained in:
twinaphex 2016-12-07 05:41:08 +01:00
parent f6dcfd21cf
commit 31a7f64f2c
4 changed files with 5 additions and 5 deletions

View File

@ -273,7 +273,7 @@ typedef struct settings
int pid[MAX_USERS];
unsigned libretro_device[MAX_USERS];
unsigned analog_dpad_mode[MAX_USERS];
enum analog_dpad_mode analog_dpad_mode[MAX_USERS];
bool remap_binds_enable;
float axis_threshold;

2
deps/SPIRV-Cross vendored

@ -1 +1 @@
Subproject commit b9600aa8d3d1ff4c412d316fcd56c0951addcc33
Subproject commit cc207e32c8668bfe5a5cc514394e7df8f020ecf6

View File

@ -510,7 +510,7 @@ void state_tracker_update_input(uint16_t *input1, uint16_t *input2)
{
struct retro_keybind *general_binds = settings->input.binds[i];
struct retro_keybind *auto_binds = settings->input.autoconf_binds[i];
enum analog_dpad_mode dpad_mode = (enum analog_dpad_mode)settings->input.analog_dpad_mode[i];
enum analog_dpad_mode dpad_mode = settings->input.analog_dpad_mode[i];
if (dpad_mode == ANALOG_DPAD_NONE)
continue;

View File

@ -1177,7 +1177,7 @@ int runloop_iterate(unsigned *sleep_ms)
{
struct retro_keybind *general_binds = settings->input.binds[i];
struct retro_keybind *auto_binds = settings->input.autoconf_binds[i];
enum analog_dpad_mode dpad_mode = (enum analog_dpad_mode)settings->input.analog_dpad_mode[i];
enum analog_dpad_mode dpad_mode = settings->input.analog_dpad_mode[i];
if (dpad_mode == ANALOG_DPAD_NONE)
continue;
@ -1201,7 +1201,7 @@ int runloop_iterate(unsigned *sleep_ms)
{
struct retro_keybind *general_binds = settings->input.binds[i];
struct retro_keybind *auto_binds = settings->input.autoconf_binds[i];
enum analog_dpad_mode dpad_mode = (enum analog_dpad_mode)settings->input.analog_dpad_mode[i];
enum analog_dpad_mode dpad_mode = settings->input.analog_dpad_mode[i];
if (dpad_mode == ANALOG_DPAD_NONE)
continue;