CPU/NewRec: Handle mtc0 rt, sr

This commit is contained in:
Stenzek
2023-11-09 02:10:39 +10:00
parent 0ba50243ec
commit 312790c9a6
11 changed files with 163 additions and 55 deletions

View File

@ -2357,6 +2357,13 @@ void CPU::CodeCache::InterpretUncachedBlock()
{
break;
}
else if ((g_state.current_instruction.bits & 0xFFC0FFFFu) == 0x40806000u && HasPendingInterrupt())
{
// mtc0 rt, sr - Jackie Chan Stuntmaster, MTV Sports games.
// Pain in the ass games trigger a software interrupt by writing to SR.Im.
break;
}
in_branch_delay_slot = branch;
}