twinaphex/snes9x-next — Issue #13: Two Player support
Author: halsafar
Created: 2012-01-26 06:09:22+00:00
State: open

Is two player support broken or am I setting it up wrong? Turtles in Time and Bomberman 2 (so multitap) appear to not work at all for more than one player. It seems all controllers, even if they S9xReportButton to a different PAD ID always modify player 1. This is a Wii version, I think it has to do with the following piece of code in control.c:
#if GEKKO
case S9xButtonJoypad:
{
uint16 r = cmd.commandunion.button.joypad;

if (data1)
joypad[data2] |= r;
else
joypad[data2] &= ~r;
}
return;
#endif

It seems input doesn't work at all without that snippet. If I enable that snippet then input works fine but I can't get multiplayer support to work.