Fix final 4 opcodes for 100% harte singlestep test compatibility. hurrah!

This commit is contained in:
Adrian Conlon committed 2026-05-03 11:27:14 +01:00
1 parent 69a0865ee9
commit 88d4ab5126
1 file changed
+2 -1
+2 -1
View File
@@ -2152,7 +2152,8 @@ namespace Z80
}
else
{
this.AdjustParity((byte)(this.B & (byte)Mask.Three));
var parity = (this.Parity() >> 2) ^ (EvenParity((byte)(this.B & (byte)Mask.Three)) ? 1 : 0) ^ 1;
this.SetBit(StatusBits.PF, parity != 0);
}
}