mirror of
https://github.com/wiiu-env/FunctionPatcherModule.git
synced 2026-08-22 00:34:07 -05:00
Log the module version on each application start
This commit is contained in:
@@ -117,6 +117,8 @@ WUMS_APPLICATION_STARTS() {
|
||||
return;
|
||||
}
|
||||
|
||||
OSReport("Running FunctionPatcherModule " MODULE_VERSION_FULL "\n");
|
||||
|
||||
// Now we can update the pointer with the "real" functions
|
||||
gMEMAllocFromDefaultHeapExForThreads = MEMAllocFromDefaultHeapEx;
|
||||
gMEMFreeToDefaultHeapForThreads = MEMFreeToDefaultHeap;
|
||||
|
||||
@@ -1,9 +1,13 @@
|
||||
#pragma once
|
||||
#include "../PatchedFunctionData.h"
|
||||
#include "version.h"
|
||||
#include <coreinit/memheap.h>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#define MODULE_VERSION "v0.1"
|
||||
#define MODULE_VERSION_FULL MODULE_VERSION MODULE_VERSION_EXTRA
|
||||
|
||||
#define JUMP_HEAP_DATA_SIZE (32 * 1024)
|
||||
extern char gJumpHeapData[];
|
||||
extern MEMHeapHandle gJumpHeapHandle;
|
||||
|
||||
2
source/version.h
Normal file
2
source/version.h
Normal file
@@ -0,0 +1,2 @@
|
||||
#pragma once
|
||||
#define MODULE_VERSION_EXTRA ""
|
||||
Reference in New Issue
Block a user