mirror of
https://github.com/wiiu-env/FunctionPatcherModule.git
synced 2025-01-10 08:59:29 +01:00
11 lines
443 B
C++
11 lines
443 B
C++
|
#include "globals.h"
|
||
|
|
||
|
char gJumpHeapData[JUMP_HEAP_DATA_SIZE] __attribute__((section(".data")));
|
||
|
MEMHeapHandle gJumpHeapHandle __attribute__((section(".data")));
|
||
|
|
||
|
std::shared_ptr<FunctionAddressProvider> gFunctionAddressProvider;
|
||
|
std::mutex gPatchedFunctionsMutex;
|
||
|
std::vector<std::shared_ptr<PatchedFunctionData>> gPatchedFunctions;
|
||
|
|
||
|
void *(*gRealMEMAllocFromDefaultHeapEx)(uint32_t size, int align);
|
||
|
void (*gMEMFreeToDefaultHeap)(void *ptr);
|