mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-04 23:07:46 -04:00
sh2 drc, fix arm32 ld/st offset for -256
This commit is contained in:
parent
7ed05f8463
commit
97be0d15b6
1 changed files with 1 additions and 1 deletions
|
@ -2615,7 +2615,7 @@ static uptr split_address(uptr la, uptr mask, s32 *offs)
|
|||
// arm32 offset has an add/sub flag and an unsigned 8 bit value, which only
|
||||
// allows values of [-255...255]. the value -256 thus can't be used.
|
||||
if (*offs + sign == 0) {
|
||||
la += sign;
|
||||
la -= sign;
|
||||
*offs += sign;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue