mirror of
https://github.com/libretro/prosystem-libretro.git
synced 2024-11-27 02:00:30 +00:00
Cleanup
This commit is contained in:
parent
f818f53ab7
commit
fa44adacf8
@ -224,11 +224,14 @@ static void update_input(void)
|
||||
|
||||
input_poll_cb();
|
||||
|
||||
for (j = 0; j < 2; j++)
|
||||
if (libretro_supports_bitmasks)
|
||||
{
|
||||
if (libretro_supports_bitmasks)
|
||||
for (j = 0; j < 2; j++)
|
||||
joypad_bits[j] = input_state_cb(j, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_MASK);
|
||||
else
|
||||
}
|
||||
else
|
||||
{
|
||||
for (j = 0; j < 2; j++)
|
||||
{
|
||||
joypad_bits[j] = 0;
|
||||
for (i = 0; i < (RETRO_DEVICE_ID_JOYPAD_R3+1); i++)
|
||||
|
Loading…
Reference in New Issue
Block a user