diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-10-16 11:39:05 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-10-16 11:39:05 +0200 |
| commit | 2a06a5d1c3476d8a71cd501d01cd9aa78d9d1ed0 (patch) | |
| tree | 3788961d24d822ace514510306c24d9c397b29a8 /src/include/dynarec_native.h | |
| parent | b40cb7b84a1a404a0d2b042791d9133bde3f1b77 (diff) | |
| download | box64-2a06a5d1c3476d8a71cd501d01cd9aa78d9d1ed0.tar.gz box64-2a06a5d1c3476d8a71cd501d01cd9aa78d9d1ed0.zip | |
[DYNAREC] Remove obsolete code now that all memory of the dynarec is static
Diffstat (limited to 'src/include/dynarec_native.h')
| -rw-r--r-- | src/include/dynarec_native.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/include/dynarec_native.h b/src/include/dynarec_native.h index c5bca0a4..f3f2bd70 100644 --- a/src/include/dynarec_native.h +++ b/src/include/dynarec_native.h @@ -5,20 +5,6 @@ typedef struct dynablock_s dynablock_t; typedef struct x64emu_s x64emu_t; typedef struct instsize_s instsize_t; - -//#define USE_CUSTOM_MEM -#ifdef USE_CUSTOM_MEM -#define dynaMalloc customMalloc -#define dynaCalloc customCalloc -#define dynaRealloc customRealloc -#define dynaFree customFree -#else -#define dynaMalloc box_malloc -#define dynaCalloc box_calloc -#define dynaRealloc box_realloc -#define dynaFree box_free -#endif - #define MAX_INSTS 32760 void addInst(instsize_t* insts, size_t* size, int x64_size, int native_size); |