mirror of
https://github.com/wiiu-env/FunctionPatcherModule.git
synced 2026-04-30 18:17:04 -05:00
Moved function_replacement_data_v2_t to a private header.
This commit is contained in:
parent
3ac4d19ad7
commit
1274200ea3
|
|
@ -1,5 +1,6 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "fpatching_defines_legacy.h"
|
||||||
#include "FunctionAddressProvider.h"
|
#include "FunctionAddressProvider.h"
|
||||||
#include "PatchedFunctionData.h"
|
#include "PatchedFunctionData.h"
|
||||||
#include "utils/logger.h"
|
#include "utils/logger.h"
|
||||||
|
|
|
||||||
17
source/fpatching_defines_legacy.h
Normal file
17
source/fpatching_defines_legacy.h
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
/* Types that are kept only for ABI compatibility. */
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <function_patcher/fpatching_defines.h>
|
||||||
|
|
||||||
|
typedef struct function_replacement_data_v2_t {
|
||||||
|
uint32_t VERSION;
|
||||||
|
uint32_t physicalAddr; /* [needs to be filled] */
|
||||||
|
uint32_t virtualAddr; /* [needs to be filled] */
|
||||||
|
uint32_t replaceAddr; /* [needs to be filled] Address of our replacement function */
|
||||||
|
uint32_t *replaceCall; /* [needs to be filled] Address to access the real_function */
|
||||||
|
function_replacement_library_type_t library; /* [needs to be filled] rpl where the function we want to replace is. */
|
||||||
|
const char *function_name; /* [needs to be filled] name of the function we want to replace */
|
||||||
|
FunctionPatcherTargetProcess targetProcess; /* [will be filled] */
|
||||||
|
} function_replacement_data_v2_t;
|
||||||
Loading…
Reference in New Issue
Block a user