dynarec: check stale blocks in rdv_DoInterrupt if block not found

tentative fix for MINIDUMP-36
This commit is contained in:
Flyinghead 2023-01-14 12:54:05 +01:00
parent 7b49cc73ee
commit a370851494
1 changed files with 4 additions and 0 deletions

View File

@ -244,6 +244,10 @@ u32 DYNACALL rdv_DoInterrupts_pc(u32 pc) {
u32 DYNACALL rdv_DoInterrupts(void* block_cpde)
{
RuntimeBlockInfoPtr rbi = bm_GetBlock(block_cpde);
if (!rbi)
rbi = bm_GetStaleBlock(block_cpde);
verify(rbi != nullptr);
return rdv_DoInterrupts_pc(rbi->vaddr);
}