m37710: pass program bank to debugger hook so breakpoints work outside of bank 0 [R. Belmont]

This commit is contained in:
R. Belmont 2011-09-05 03:04:46 +00:00
parent 0e0607bfb2
commit e41623600b

View File

@ -2909,7 +2909,7 @@ TABLE_FUNCTION(int, execute, (m37710i_cpu_struct *cpustate, int clocks))
do do
{ {
REG_PPC = REG_PC; REG_PPC = REG_PC;
M37710_CALL_DEBUGGER(REG_PC); M37710_CALL_DEBUGGER(REG_PB | REG_PC);
REG_PC++; REG_PC++;
REG_IR = read_8_IMM(REG_PB | REG_PPC); REG_IR = read_8_IMM(REG_PB | REG_PPC);
cpustate->opcodes[REG_IR](cpustate); cpustate->opcodes[REG_IR](cpustate);