fix spellcraft

broke in previous commit probably by random chance; this is probably more correct anyways
This commit is contained in:
Morilli 2025-06-22 20:17:07 +02:00 committed by Screwtapello
parent b53bf3d178
commit c84914ac83
1 changed files with 1 additions and 1 deletions

View File

@ -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();