X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fjoystick.cpp;h=894301d9b99bccea78044dbe24988e347b88b00b;hb=ee44841002db3b2475ce02619d141aee6631242b;hp=fd8977fb8f2cd77303efab92941807ef33a73e2c;hpb=0c6ed444bbb07e5cc0513a7d3075fb24d06e61eb;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;