sh2 drc, fix oversize blocks ending with JSR/BSR

This commit is contained in:
kub 2021-03-16 21:35:37 +01:00
parent 6f64058800
commit a1ca8377c9

View file

@ -5108,7 +5108,7 @@ end_op:
else else
opd = &ops[i-1]; opd = &ops[i-1];
if (! OP_ISBRAUC(opd->op)) if (! OP_ISBRAUC(opd->op) || (opd->dest & BITMASK1(SHR_PR)))
{ {
tmp = rcache_get_reg(SHR_SR, RC_GR_RMW, NULL); tmp = rcache_get_reg(SHR_SR, RC_GR_RMW, NULL);
FLUSH_CYCLES(tmp); FLUSH_CYCLES(tmp);