1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-12-11 02:49:16 +00:00

Always set the UNUSED and BREAK flags after execution.

This change simply replicates the behavior demonstrated in AppleWin.
This commit is contained in:
Peter Evans 2018-04-13 16:17:13 -05:00
parent 5730e5e446
commit ebb5f068fd

View File

@ -367,6 +367,8 @@ mos6502_execute(mos6502 *cpu)
cpu->last_addr = cpu->eff_addr;
cpu->last_operand = operand;
cpu->P |= MOS_UNUSED | MOS_BREAK;
// Ok -- we're done! This wasn't so hard, was it?
return;
}