From ae08d21bf12fbefa5a7531cf7b61ea5ba9620bae Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 20 Apr 2023 22:59:03 +0200 Subject: [DYNAREC] Fixed an optimisation in getDBSize helper function --- src/custommem.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/custommem.c b/src/custommem.c index 45c7a01f..f77b005c 100644 --- a/src/custommem.c +++ b/src/custommem.c @@ -590,6 +590,7 @@ static uintptr_t getDBSize(uintptr_t addr, size_t maxsize, dynablock_t** db) uintptr_t* block = box64_jmptbl3[idx3][idx2][idx1]; if(block == box64_jmptbldefault0) return (((addr>>JMPTABL_START1)+1)<JMPTABLE_MASK0) maxsize = JMPTABLE_MASK0; while(block[idx0]==(uintptr_t)native_next) { -- cgit 1.4.1