mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-03 07:25:43 -04:00
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…
x
Reference in New Issue
Block a user