diff --git a/cpu/ppc/ppcemu.h b/cpu/ppc/ppcemu.h index 9431be4..45f35a1 100644 --- a/cpu/ppc/ppcemu.h +++ b/cpu/ppc/ppcemu.h @@ -303,8 +303,6 @@ extern unsigned exec_flags; extern jmp_buf exc_env; -extern bool grab_return; - enum Po_Cause : int { po_none, po_starting_up, diff --git a/cpu/ppc/ppcexec.cpp b/cpu/ppc/ppcexec.cpp index 9d4421a..fec371f 100644 --- a/cpu/ppc/ppcexec.cpp +++ b/cpu/ppc/ppcexec.cpp @@ -62,9 +62,6 @@ Po_Cause power_off_reason = po_enter_debugger; SetPRS ppc_state; -bool grab_return; -bool grab_breakpoint; - uint32_t ppc_cur_instruction; // Current instruction for the PPC uint32_t ppc_next_instruction_address; // Used for branching, setting up the NIA diff --git a/cpu/ppc/ppcopcodes.cpp b/cpu/ppc/ppcopcodes.cpp index c87f371..5571670 100644 --- a/cpu/ppc/ppcopcodes.cpp +++ b/cpu/ppc/ppcopcodes.cpp @@ -1395,7 +1395,6 @@ void dppc_interpreter::ppc_rfi() { mmu_change_mode(); - grab_return = true; exec_flags = EXEF_RFI; }