[ARM] Disable faddsx since it causes problems in crazy taxi.
This commit is contained in:
parent
b4baa4fdb9
commit
1675f56f02
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue