mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
Revert 4ec1247
as it cause more troubles than it solves
This commit is contained in:
parent
aa9c5aa559
commit
35821b373c
6 changed files with 33 additions and 48 deletions
|
@ -3836,6 +3836,8 @@ static void REGPARM(2) *sh2_translate(SH2 *sh2, int tcache_id)
|
|||
u = FETCH32(opd->imm);
|
||||
else
|
||||
u = (s16)FETCH_OP(opd->imm);
|
||||
// tweak for Blackthorne: avoid stack overwriting
|
||||
if (GET_Rn() == SHR_SP && u == 0x0603f800) u = 0x0603f900;
|
||||
gconst_new(GET_Rn(), u);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue