mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
sh2 drc, fix oversize blocks ending with JSR/BSR
This commit is contained in:
parent
6f64058800
commit
a1ca8377c9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue