mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-11 05:04:29 +02:00
fix spellcraft
broke in previous commit probably by random chance; this is probably more correct anyways
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user