1
0
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:
Peter Evans 2018-01-08 21:15:56 -06:00
parent a8bba409c3
commit 7c899122ad

View File

@ -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);
}
}