diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-06-08 11:00:55 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-06-08 11:00:55 +0200 |
| commit | d3f0d1c30f14fd789fc747e3704286259026fbc9 (patch) | |
| tree | b36ff39ce83b3868d65d1b5d741200ca5c73e734 /src/include | |
| parent | 7de8687a79ea1e97b61b1a33d6a16e52b36d6a3e (diff) | |
| download | box64-d3f0d1c30f14fd789fc747e3704286259026fbc9.tar.gz box64-d3f0d1c30f14fd789fc747e3704286259026fbc9.zip | |
[DYNAREC] Small change on jumptable to have the 1st layer maching the over 48bits address space
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/custommem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/custommem.h b/src/include/custommem.h index c9db05dc..4bfcc98a 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -68,10 +68,10 @@ uintptr_t getJumpAddress64(uintptr_t addr); #define JMPTABLE_MASK1 ((1<<JMPTABL_SHIFT1)-1) #define JMPTABLE_MASK0 ((1<<JMPTABL_SHIFT0)-1) #else -#define JMPTABL_SHIFT3 18 +#define JMPTABL_SHIFT3 16 #define JMPTABL_SHIFT2 18 #define JMPTABL_SHIFT1 18 -#define JMPTABL_SHIFT0 10 +#define JMPTABL_SHIFT0 12 #define JMPTABL_START3 (JMPTABL_START2+JMPTABL_SHIFT2) #define JMPTABL_START2 (JMPTABL_START1+JMPTABL_SHIFT1) #define JMPTABL_START1 (JMPTABL_START0+JMPTABL_SHIFT0) |