From 6e285909d7c0722d708fcc78cad383b71380913a Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 12 Jun 2020 21:11:43 +0200 Subject: [PATCH] Add support for FunctionPatcherRestoreFunctions --- include/function_patcher/function_patching.h | 2 +- source/patching.def | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/function_patcher/function_patching.h b/include/function_patcher/function_patching.h index 478ba71..ef4d91c 100644 --- a/include/function_patcher/function_patching.h +++ b/include/function_patcher/function_patching.h @@ -8,7 +8,7 @@ extern "C" { #endif extern void FunctionPatcherPatchFunction(function_replacement_data_t *replacements, uint32_t size); - +extern void FunctionPatcherRestoreFunctions(function_replacement_data_t *replacements, uint32_t size); #ifdef __cplusplus } #endif diff --git a/source/patching.def b/source/patching.def index ba834f8..0853535 100644 --- a/source/patching.def +++ b/source/patching.def @@ -1,4 +1,5 @@ :NAME homebrew_functionpatcher :TEXT -FunctionPatcherPatchFunction \ No newline at end of file +FunctionPatcherPatchFunction +FunctionPatcherRestoreFunctions \ No newline at end of file