diff --git a/ps3/ps3_input.c b/ps3/ps3_input.c index 5a78db09a7..fa92fa6ca9 100644 --- a/ps3/ps3_input.c +++ b/ps3/ps3_input.c @@ -108,7 +108,7 @@ static int16_t ps3_input_state(void *data, const struct snes_keybind **binds, unsigned player = port; uint64_t button = binds[player][id].joykey; - int16_t retval = CTRL_MASK(state[player], button); + int16_t retval = CTRL_MASK(state[player], button) ? 1 : 0; if(player >= pads_connected || device != RETRO_DEVICE_JOYPAD) retval = 0;