CPU/Interpreter: Fix incorrect call in to PGXP for addi
Fixes exploding triangles in Spyro with PGXP CPU mode enabled.
This commit is contained in:
parent
e7bf22c31f
commit
fa638ef9d2
|
@ -884,7 +884,7 @@ restart_instruction:
|
||||||
}
|
}
|
||||||
|
|
||||||
if constexpr (pgxp_mode >= PGXPMode::CPU)
|
if constexpr (pgxp_mode >= PGXPMode::CPU)
|
||||||
PGXP::CPU_ANDI(inst.bits, new_value, ReadReg(inst.i.rs));
|
PGXP::CPU_ADDI(inst.bits, new_value, ReadReg(inst.i.rs));
|
||||||
|
|
||||||
WriteReg(inst.i.rt, new_value);
|
WriteReg(inst.i.rt, new_value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue