diff --git a/src/core/cpu_core.cpp b/src/core/cpu_core.cpp index 7a5ecf3e7..1f48ceb06 100644 --- a/src/core/cpu_core.cpp +++ b/src/core/cpu_core.cpp @@ -884,7 +884,7 @@ restart_instruction: } 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); }