mirror of
https://github.com/pevans/erc-c.git
synced 2024-10-09 15:54:24 +00:00
We should advance to the next byte in execution
This commit is contained in:
parent
a8bba409c3
commit
7c899122ad
@ -322,8 +322,7 @@ apple2_run_loop(apple2 *mach)
|
||||
|
||||
while (vm_screen_active(mach->screen)) {
|
||||
mos6502_dis_opcode(mach->cpu, stdout, mach->cpu->PC);
|
||||
mos6502_execute(mach->cpu,
|
||||
vm_segment_get(mach->memory, mach->cpu->PC));
|
||||
mos6502_execute(mach->cpu, mos6502_next_byte(mach->cpu));
|
||||
vm_screen_refresh(mach->screen);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user