mirror of
https://github.com/ptitSeb/box64.git
synced 2025-05-08 07:59:18 +08:00
Try to fix some remaining regression with customme rbtree refactor (for #2600)
This commit is contained in:
parent
1ddf9a0a00
commit
ff566e8116
@ -1969,7 +1969,7 @@ uint32_t getProtection_fast(uintptr_t addr)
|
||||
|
||||
int getMmapped(uintptr_t addr)
|
||||
{
|
||||
return rb_get(mapallmem, addr) == MEM_MMAP;
|
||||
return (rb_get(mapallmem, addr)&MEM_ALLOCATED); // will be ok for both MEM_ALLOCATED & MEM_MMAP
|
||||
}
|
||||
|
||||
int memExist(uintptr_t addr)
|
||||
|
Loading…
x
Reference in New Issue
Block a user