From 8ee250e9acd463b74e57c677630f8cb3c3c3e78b Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 29 Jan 2024 09:57:02 +0100 Subject: [DYNAREC] Small improvment in dynablock/protectDB handling --- src/include/custommem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') diff --git a/src/include/custommem.h b/src/include/custommem.h index d6867a4f..aa0e7f4d 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -88,6 +88,7 @@ int getMmapped(uintptr_t addr); void loadProtectionFromMap(void); #ifdef DYNAREC void protectDB(uintptr_t addr, size_t size); +void protectDBJumpTable(uintptr_t addr, size_t size, void* jump, void* ref); void unprotectDB(uintptr_t addr, size_t size, int mark); // if mark==0, the blocks are not marked as potentially dirty int isprotectedDB(uintptr_t addr, size_t size); #endif -- cgit 1.4.1