From ab6deeb319cf4389f0cfd555c8aa922300065ee6 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 16 Jun 2025 12:07:22 +0200 Subject: [DYNACACHE] Added the ability to mark a maplist has having new blocks (instead of dirty block that are refreshed) --- src/include/custommem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/custommem.h') diff --git a/src/include/custommem.h b/src/include/custommem.h index 1ff4bdcc..17acc1e9 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -33,7 +33,7 @@ size_t customGetUsableSize(void* p); typedef struct dynablock_s dynablock_t; typedef struct mmaplist_s mmaplist_t; // custom protection flag to mark Page that are Write protected for Dynarec purpose -uintptr_t AllocDynarecMap(uintptr_t x64_addr, size_t size); +uintptr_t AllocDynarecMap(uintptr_t x64_addr, size_t size, int is_new); void FreeDynarecMap(uintptr_t addr); mmaplist_t* NewMmaplist(); void DelMmaplist(mmaplist_t* list); -- cgit 1.4.1