Skip to content

Commit

Permalink
Merge pull request #82 from retro-wertz/patch-3
Browse files Browse the repository at this point in the history
Fix device mouse not working in player port #2
  • Loading branch information
inactive123 authored Nov 10, 2017
2 parents 49ca74b + 60ca69a commit 05cb2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libretro/libretro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ void retro_set_controller_port_device(unsigned port, unsigned device)
snes_devices[port] = RETRO_DEVICE_JOYPAD_MULTITAP;
break;
case RETRO_DEVICE_MOUSE:
S9xSetController(port, CTL_MOUSE, 0, 0, 0, 0);
S9xSetController(port, CTL_MOUSE, port, 0, 0, 0);
snes_devices[port] = RETRO_DEVICE_MOUSE;
break;
case RETRO_DEVICE_LIGHTGUN_SUPER_SCOPE:
Expand Down

0 comments on commit 05cb2ed

Please sign in to comment.