C64: fix controller
This commit is contained in:
parent
353fec4f00
commit
eaef35b126
|
@ -124,7 +124,7 @@ namespace BizHawk.Emulation.Cores.Computers.Commodore64.MOS
|
||||||
_ret = ~ddrb & 0xFF;
|
_ret = ~ddrb & 0xFF;
|
||||||
_tst = (pra | ~ddra) & GetJoystick2();
|
_tst = (pra | ~ddra) & GetJoystick2();
|
||||||
_ret &= GetKeyboardRows(_tst);
|
_ret &= GetKeyboardRows(_tst);
|
||||||
return (_ret | (prb & ddrb)) & (GetJoystick1() | (~pra & 0x1F));
|
return (_ret | (prb & ddrb)) & GetJoystick1();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue