X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fjoystick.cpp;fp=src%2Fjoystick.cpp;h=894301d9b99bccea78044dbe24988e347b88b00b;hb=ee44841002db3b2475ce02619d141aee6631242b;hp=fd8977fb8f2cd77303efab92941807ef33a73e2c;hpb=2e3a9a7467a1740dff9985203f10f7bae01c9d0d;p=virtualjaguar diff --git a/src/joystick.cpp b/src/joystick.cpp index fd8977f..894301d 100644 --- a/src/joystick.cpp +++ b/src/joystick.cpp @@ -325,6 +325,9 @@ void JoystickDone(void) uint8 JoystickReadByte(uint32 offset) { +// For now, until we can fix the 2nd controller... :-P +memset(joypad_1_buttons, 0, 21); + #warning "No bounds checking done in JoystickReadByte!" // extern bool hardwareTypeNTSC; offset &= 0x03;