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