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:
parent
5730e5e446
commit
ebb5f068fd
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user