[JIT]: Specialize register write handlers

This commit is contained in:
Simone
2025-01-14 17:21:04 +01:00
committed by GitHub
parent 81eca58130
commit 23ddc0b9f7
7 changed files with 110 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
#include <jit/helpers.hpp>
namespace n64 {
JIT::JIT(ParallelRDP &parallel) : mem(regs, parallel) {}
JIT::JIT(ParallelRDP &parallel) : regs(this), mem(regs, parallel) {}
bool JIT::ShouldServiceInterrupt() const {
const bool interrupts_pending = (regs.cop0.status.im & regs.cop0.cause.interruptPending) != 0;