diff --git a/Makefile b/Makefile index 236a7f6..7c4e62f 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ TOPDIR ?= $(CURDIR) include $(DEVKITPRO)/wut/share/wut_rules export VER_MAJOR := 1 -export VER_MINOR := 0 +export VER_MINOR := 1 export VER_PATCH := 0 VERSION := $(VER_MAJOR).$(VER_MINOR).$(VER_PATCH) diff --git a/include/kernel/kernel.h b/include/kernel/kernel.h index 998c7a0..ff39783 100644 --- a/include/kernel/kernel.h +++ b/include/kernel/kernel.h @@ -19,6 +19,8 @@ void KernelWritePTE(uint32_t inputAddr, int32_t length); void KernelNOPAtPhysicalAddress(uint32_t addr); +void KernelPatchSyscall(uint32_t index, uint32_t addr); + #ifdef __cplusplus } // extern "C" #endif \ No newline at end of file diff --git a/source/kernel.def b/source/kernel.def index eb3e6a2..eb3ed62 100644 --- a/source/kernel.def +++ b/source/kernel.def @@ -3,4 +3,5 @@ :TEXT KernelCopyData KernelWriteSRs -KernelReadSRs \ No newline at end of file +KernelReadSRs +KernelPatchSyscall \ No newline at end of file