[JIT]: First compiled block! Figure out why scheduling an event from the emitted code makes the underlying queue point to 0x0...

This commit is contained in:
SimoneN64
2025-01-20 22:27:18 +01:00
parent e065558147
commit f67f968f91
10 changed files with 452 additions and 290 deletions

View File

@@ -602,10 +602,8 @@ void Interpreter::jal(const u32 instr) {
}
void Interpreter::jalr(const u32 instr) {
const u64 addr = regs.Read<s64>(RS(instr));
const s64 currentNextPC = regs.nextPC;
branch(true, addr);
regs.Write(RD(instr), currentNextPC);
regs.Write(RD(instr), regs.nextPC);
jr(instr);
}
void Interpreter::jr(const u32 instr) {