Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Implement CR1 for the intepreter. To be honest I have no idea why thi…
…s was never done previously, all it is is copying four bits from the FPSCR register to CR1. This fixes issue 2390.
  • Loading branch information
Sonicadvance1 committed Sep 26, 2013
1 parent 4efc3e6 commit e37cb1f
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -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)
Expand Down

0 comments on commit e37cb1f

Please sign in to comment.