sh2 drc, fix reading from constant memory address

This commit is contained in:
kub 2021-03-16 21:25:04 +01:00
parent d35a929551
commit 2d2387b293
2 changed files with 28 additions and 17 deletions

View file

@ -1033,8 +1033,7 @@ enum { xAX = 0, xCX, xDX, xBX, xSP, xBP, xSI, xDI, // x86-64,i386 common
#define host_instructions_updated(base, end, force) (void)(base),(void)(end)
#define emith_update_cache() /**/
// NB this MUST be <0x40000000 to avoid overflow in address calculations
#define emith_rw_offs_max() 0xfffffff // for better perfomance: <0x10000000
#define emith_rw_offs_max() 0xffffffffU
#ifdef __x86_64__