This commit is contained in:
robojumper
2024-05-04 11:57:22 +02:00
parent fa4b2862fd
commit 927a2ad4f7
+2
View File
@@ -18,6 +18,8 @@ public:
EGG::HeapAllocCallback oldAllocCallback = EGG::Heap::sAllocCallback;
EGG::HeapFreeCallback oldFreeCallback = EGG::Heap::sFreeCallback;
// first mention free, then alloc so that the
//inline thunks are emitted in the right order
EGG::HeapFreeCallback freeThunk = &freeCallback;
EGG::HeapAllocCallback allocThunk = &allocCallback;