Update input_pop_analog_pads

This commit is contained in:
twinaphex 2016-12-04 21:08:49 +01:00
parent c19a6dd018
commit 185925cf3a

View File

@ -199,9 +199,9 @@ void input_push_analog_dpad(struct retro_keybind *binds, unsigned mode);
**/ **/
#define input_pop_analog_dpad(binds) \ #define input_pop_analog_dpad(binds) \
{ \ { \
unsigned i; \ unsigned j; \
for (i = RETRO_DEVICE_ID_JOYPAD_UP; i <= RETRO_DEVICE_ID_JOYPAD_RIGHT; i++) \ for (j = RETRO_DEVICE_ID_JOYPAD_UP; j <= RETRO_DEVICE_ID_JOYPAD_RIGHT; j++) \
(binds)[i].joyaxis = (binds)[i].orig_joyaxis; \ (binds)[j].joyaxis = (binds)[j].orig_joyaxis; \
} }
/** /**