idle skipping works!
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user