mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 11:29:24 +01:00
Correct handling of joysticks
This commit is contained in:
parent
ac89e421e6
commit
b5392e248b
@ -937,7 +937,9 @@ uint8 C64::poll_joystick(int port)
|
||||
/* Handle keyboard codes */
|
||||
for (int i = 0; i < 0x51; i++)
|
||||
{
|
||||
if (table[i] == 0 || table[i] == last_table[i])
|
||||
if (table[i] == 0)
|
||||
continue;
|
||||
if ( !(i & 0x40) && table[i] == last_table[i] )
|
||||
continue;
|
||||
|
||||
TheDisplay->UpdateKeyMatrix(i, table[i] == 1,
|
||||
|
Loading…
Reference in New Issue
Block a user