main: use correct variable for PC updates.

This commit is contained in:
Maxim Poliakovski 2019-07-19 20:52:59 +02:00
parent 112f2265d6
commit 2417204b5f

View File

@ -790,7 +790,7 @@ int main(int argc, char **argv)
quickinstruction_translate(ppc_state.ppc_pc);
ppc_main_opcode();
if (grab_branch & !grab_exception){
ppc_state.ppc_pc = ppc_effective_address;
ppc_state.ppc_pc = ppc_next_instruction_address;
grab_branch = 0;
ppc_tbr_update();
}
@ -833,7 +833,7 @@ int main(int argc, char **argv)
quickinstruction_translate(ppc_state.ppc_pc);
ppc_main_opcode();
if (grab_branch & !grab_exception){
ppc_state.ppc_pc = ppc_effective_address;
ppc_state.ppc_pc = ppc_next_instruction_address;
grab_branch = 0;
ppc_tbr_update();
}