Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[ARM] Disable faddsx since it causes problems in crazy taxi.
  • Loading branch information
Sonicadvance1 committed Aug 19, 2013
1 parent b4baa4f commit 1675f56
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -51,18 +51,21 @@ void JitArm::fabsx(UGeckoInstruction inst)
if (inst.Rc) Helper_UpdateCR1(vD);
}

// Broken in Crazy Taxi, sparks constantly fly from the car, messes with camera
void JitArm::faddsx(UGeckoInstruction inst)
{
INSTRUCTION_START
JITDISABLE(FloatingPoint)

Default(inst); return;

ARMReg vD0 = fpr.R0(inst.FD);
ARMReg vD1 = fpr.R1(inst.FD);
ARMReg vA = fpr.R0(inst.FA);
ARMReg vB = fpr.R0(inst.FB);

VADD(vD0, vA, vB);
VADD(vD1, vA, vB);
VMOV(vD1, vD0);
if (inst.Rc) Helper_UpdateCR1(vD0);
}

Expand Down

0 comments on commit 1675f56

Please sign in to comment.