should do like interpreter here

This commit is contained in:
irisz64
2025-07-06 21:51:50 +02:00
parent 46c2aa2994
commit dd6c28c9d9

View File

@@ -158,7 +158,11 @@ void JIT::and_(u32 instr) {
void JIT::SkipSlot() { code.jmp("not_taken"); }
void JIT::SkipSlotConstant() { blockPC += 4; }
void JIT::SkipSlotConstant() {
blockOldPC = blockPC;
blockPC = blockNextPC;
blockNextPC = blockPC + 4;
}
void JIT::BranchTaken(const s64 offs) {
code.mov(code.rax, blockPC + offs);