idle skipping works!

This commit is contained in:
2026-05-22 00:20:17 +02:00
parent 5fbda03ceb
commit c9a0307878
8 changed files with 26 additions and 41 deletions
@@ -140,6 +140,7 @@ void Interpreter::branch(const bool cond, const s64 address) {
regs.delaySlot = true;
if (cond) {
regs.nextPC = address;
Core::MaybeIdleSkip();
}
}
@@ -147,6 +148,7 @@ void Interpreter::branch_likely(const bool cond, const s64 address) {
if (cond) {
regs.delaySlot = true;
regs.nextPC = address;
Core::MaybeIdleSkip();
} else {
regs.SetPC64(regs.nextPC);
}