Fixed buggy breakpoints in the g65816 cpu core. [Angelo Salese]

This commit is contained in:
Angelo Salese 2009-08-07 11:38:06 +00:00
parent ede41d3262
commit 8fade1f6dd

View File

@ -2437,7 +2437,7 @@ TABLE_FUNCTION(int, execute, (g65816i_cpu_struct *cpustate, int clocks))
g65816i_check_maskable_interrupt(cpustate);
REGISTER_PPC = REGISTER_PC;
G65816_CALL_DEBUGGER(REGISTER_PC);
G65816_CALL_DEBUGGER(REGISTER_PB | REGISTER_PC);
REGISTER_PC++;
REGISTER_IR = read_8_IMM(REGISTER_PB | REGISTER_PPC);