From e7290d78d5047662c49a8558d1709ed912346ff7 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Thu, 18 Nov 2021 14:21:16 +0100 Subject: [DYNAREC] Improved JIT handling, and added a HotPage detection to temporarily disable Dynarec when write occurs on the same page of some Dynablocks (help speedup some C#/Unity3D programs) --- src/include/dynablock.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include') diff --git a/src/include/dynablock.h b/src/include/dynablock.h index b83262cc..a2119643 100755 --- a/src/include/dynablock.h +++ b/src/include/dynablock.h @@ -31,5 +31,7 @@ dynablock_t *AddNewDynablock(dynablocklist_t* dynablocks, uintptr_t addr, int* c // for use in signal handler void cancelFillBlock(); +int IsInHotPage(uintptr_t addr); +void AddHotPage(uintptr_t addr); #endif //__DYNABLOCK_H_ \ No newline at end of file -- cgit 1.4.1