Implement CR1 for the intepreter. To be honest I have no idea why this was never done previously, all it is is copying four bits from the FPSCR register to CR1. This fixes issue 2390.

This commit is contained in:
Ryan Houdek 2013-09-26 18:09:25 +00:00
parent 4efc3e6c8f
commit e37cb1fc76
1 changed files with 1 additions and 2 deletions

View File

@ -31,8 +31,7 @@ void UpdateSSEState();
// Star Wars : Rogue Leader spams that at some point :|
void Interpreter::Helper_UpdateCR1(double _fValue)
{
// Should just update exception flags, not do any compares.
PanicAlert("CR1");
SetCRField(1, (FPSCR.FX << 4) | (FPSCR.FEX << 3) | (FPSCR.VX << 2) | FPSCR.OX);
}
void Interpreter::fcmpo(UGeckoInstruction _inst)