mirror of
https://github.com/pevans/erc-c.git
synced 2026-10-22 04:02:15 +00:00
We need to check if we would break ourselves
This commit is contained in:
1 parent
a3a32662ef
commit
b8b45cc9f2
1 file changed
+4
-1
+4
-1
@@ -266,7 +266,10 @@ Test(apple2_debug, cmd_step)
|
||||
cr_assert_eq(mach->cpu->PC, 1);
|
||||
|
||||
// We should go nowhere here
|
||||
mos6502_execute(mach->cpu);
|
||||
if (!apple2_debug_broke(mach->cpu->PC)) {
|
||||
mos6502_execute(mach->cpu);
|
||||
}
|
||||
|
||||
cr_assert_eq(mach->cpu->PC, 1);
|
||||
|
||||
// Step should a) unbreak at PC, b) execute at PC
|
||||
|
||||
Reference in new issue
Block a user