mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-08-10 06:24:59 +00:00
main: use correct variable for PC updates.
This commit is contained in:
4
main.cpp
4
main.cpp
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user