mirror of https://github.com/bsnes-emu/bsnes.git
fix spellcraft
broke in previous commit probably by random chance; this is probably more correct anyways
This commit is contained in:
parent
b53bf3d178
commit
c84914ac83
|
@ -238,7 +238,7 @@ auto CPU::joypadEdge() -> void {
|
|||
return;
|
||||
}
|
||||
|
||||
if(status.autoJoypadCounter >= 2 && !(status.autoJoypadCounter & 1)) {
|
||||
if(status.autoJoypadCounter >= 2 && (status.autoJoypadCounter & 1)) {
|
||||
//sixteen bits are shifted into joy{1-4}, one bit per 256 clocks
|
||||
uint2 port0 = controllerPort1.device->data();
|
||||
uint2 port1 = controllerPort2.device->data();
|
||||
|
|
Loading…
Reference in New Issue