Ensure GPR[0] is zero.

master
Nabile Rahmani 2018-06-09 18:35:33 +02:00
parent 40d0944418
commit 9762d813ba
1 changed files with 2 additions and 0 deletions

View File

@ -248,6 +248,8 @@ namespace DotN64.CPU
}
else
ExceptionProcessing.ReservedInstruction(this, instruction);
GPR[(int)GPRIndex.Zero] = 0;
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]