mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 18:25:45 -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:
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user