]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/joystick.cpp
Quick fix to make controller #1 work properly again. Controller #2 is disabled.
[virtualjaguar] / src / joystick.cpp
index fd8977fb8f2cd77303efab92941807ef33a73e2c..894301d9b99bccea78044dbe24988e347b88b00b 100644 (file)
@@ -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;