diff options
| author | Lioncash <mathew1800@gmail.com> | 2015-02-23 06:55:57 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2015-02-23 06:56:01 -0500 |
| commit | 6fe59d82e1842235da8ef3545ed85c4ab08d5ebb (patch) | |
| tree | a62765326c2fa7192d97e29dd583b6d6c622dc32 /Source/Core | |
| parent | e81d459bcfbc3f1b59e6abd429e030c3ce803755 (diff) | |
Interpreter: Fix Helper_UpdateCR1
This previously shifted off-by-one
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp b/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp index 26cb1edf7d..3b816e14fd 100644 --- a/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp +++ b/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp @@ -15,7 +15,7 @@ using namespace MathUtil; // Star Wars : Rogue Leader spams that at some point :| void Interpreter::Helper_UpdateCR1() { - SetCRField(1, (FPSCR.FX << 4) | (FPSCR.FEX << 3) | (FPSCR.VX << 2) | FPSCR.OX); + SetCRField(1, (FPSCR.FX << 3) | (FPSCR.FEX << 2) | (FPSCR.VX << 1) | FPSCR.OX); } void Interpreter::Helper_FloatCompareOrdered(UGeckoInstruction _inst, double fa, double fb) |
