Skip to content

Commit

Permalink
Make sure R0 is 0 in Interpreter
Browse files Browse the repository at this point in the history
  • Loading branch information
project64 committed Jan 3, 2018
1 parent def0550 commit 4b7fafb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ void CInterpreterCPU::ExecuteCPU()
} */

m_R4300i_Opcode[Opcode.op]();
_GPR[0].DW = 0; /* MIPS $zero hard-wired to 0 */
NextTimer -= CountPerOp;

if (CDebugSettings::bHaveDebugger()) { g_Debugger->CPUStep(); }
Expand Down

0 comments on commit 4b7fafb

Please sign in to comment.