mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Should fix netplay for cores that use the new bitmask code
This commit is contained in:
parent
f61602de59
commit
091c5f6092
1 changed files with 2 additions and 0 deletions
|
@ -602,6 +602,8 @@ static int16_t netplay_input_state(netplay_t *netplay,
|
|||
switch (device)
|
||||
{
|
||||
case RETRO_DEVICE_JOYPAD:
|
||||
if (id == RETRO_DEVICE_ID_JOYPAD_MASK)
|
||||
return curr_input_state[0];
|
||||
return ((1 << id) & curr_input_state[0]) ? 1 : 0;
|
||||
|
||||
case RETRO_DEVICE_ANALOG:
|
||||
|
|
Loading…
Add table
Reference in a new issue