mirror of
https://github.com/wiiu-env/FunctionPatcherModule.git
synced 2024-11-05 17:45:11 +01:00
20 lines
508 B
C++
20 lines
508 B
C++
#include <wums.h>
|
|
#include <whb/log_udp.h>
|
|
#include "function_patcher.h"
|
|
WUMS_MODULE_EXPORT_NAME("homebrew_functionpatcher");
|
|
WUMS_MODULE_SKIP_ENTRYPOINT();
|
|
WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK();
|
|
|
|
WUMS_INITIALIZE(){
|
|
WHBLogUdpInit();
|
|
}
|
|
|
|
WUMS_APPLICATION_STARTS() {
|
|
WHBLogUdpInit();
|
|
FunctionPatcherResetLibHandles();
|
|
}
|
|
|
|
WUMS_EXPORT_FUNCTION(FunctionPatcherPatchFunction);
|
|
WUMS_EXPORT_FUNCTION(FunctionPatcherRestoreFunctions);
|
|
WUMS_EXPORT_FUNCTION(FunctionPatcherRestoreDynamicFunctions);
|