mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
x86jit: Avoid negative offset warning.
This commit is contained in:
1 parent
1ccc2d5d2f
commit
bea74ba162
4 files changed
+26
-21
No files matched your search
@@ -47,7 +47,7 @@ void X64JitBackend::CompIR_Basic(IRInst inst) {
|
||||
switch (inst.op) {
|
||||
case IROp::Downcount:
|
||||
//ADD(32, R(DOWNCOUNTREG), R(DOWNCOUNTREG), Imm32(-(s32)inst.constant));
|
||||
SUB(32, MDisp(CTXREG, -128 + offsetof(MIPSState, downcount)), Imm32((s32)inst.constant));
|
||||
SUB(32, MDisp(CTXREG, downcountOffset), Imm32((s32)inst.constant));
|
||||
break;
|
||||
|
||||
case IROp::SetConst:
|
||||
|
||||
Reference in new issue
Block a user