Skip to content

Commit

Permalink
Merge pull request emu-russia#474 from ogamespec/main
Browse files Browse the repository at this point in the history
AVR fix
  • Loading branch information
ogamespec authored Nov 2, 2023
2 parents 9355fac + 3c62faf commit 231b8ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chips/M6502Core/alu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ namespace M6502Core

DCLatch.set(DC7, PHI2);
ACLatch.set(NOT(carry[7]), PHI2);
AVRLatch.set(AND(NAND(carry[6], nors[7]), NOT(NOR(carry[6], carry[7]))), PHI2);
AVRLatch.set(NOR(NOR(carry[6], nands[7]), AND(carry[6], nors[7])), PHI2); // AVR = C6 ^ C7

if (!BCD_Hack)
{
Expand Down

0 comments on commit 231b8ac

Please sign in to comment.