mirror of https://github.com/snes9xgit/snes9x.git
Use joypad 2 for controller port 2, so player 1 don't control both players.
This commit is contained in:
parent
e3e9ad3a69
commit
9dd3ff810f
|
@ -189,7 +189,7 @@ void retro_set_controller_port_device(unsigned port, unsigned device)
|
||||||
switch (device)
|
switch (device)
|
||||||
{
|
{
|
||||||
case RETRO_DEVICE_JOYPAD:
|
case RETRO_DEVICE_JOYPAD:
|
||||||
S9xSetController(port, CTL_JOYPAD, 0, 0, 0, 0);
|
S9xSetController(port, CTL_JOYPAD, port, 0, 0, 0);
|
||||||
snes_devices[port] = RETRO_DEVICE_JOYPAD;
|
snes_devices[port] = RETRO_DEVICE_JOYPAD;
|
||||||
break;
|
break;
|
||||||
case RETRO_DEVICE_JOYPAD_MULTITAP:
|
case RETRO_DEVICE_JOYPAD_MULTITAP:
|
||||||
|
|
Loading…
Reference in New Issue