diff options
Diffstat (limited to 'src/include/custommem.h')
| -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 1b86d251..bd687468 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -20,7 +20,7 @@ void customFree(void* p); typedef struct dynablock_s dynablock_t; typedef struct dynablocklist_s dynablocklist_t; // custom protection flag to mark Page that are Write protected for Dynarec purpose -uintptr_t AllocDynarecMap(dynablock_t* db, int size); +uintptr_t AllocDynarecMap(dynablock_t* db, size_t size); void FreeDynarecMap(dynablock_t* db, uintptr_t addr, uint32_t size); void addDBFromAddressRange(uintptr_t addr, uintptr_t size); @@ -60,4 +60,4 @@ void relockCustommemMutex(int locks); void init_custommem_helper(box64context_t* ctx); void fini_custommem_helper(box64context_t* ctx); -#endif //__CUSTOM_MEM__H_ \ No newline at end of file +#endif //__CUSTOM_MEM__H_ |