summaryrefslogtreecommitdiffstats
path: root/src/skel/skeleton.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/skel/skeleton.cpp28
1 files changed, 2 insertions, 26 deletions
diff --git a/src/skel/skeleton.cpp b/src/skel/skeleton.cpp
index 73dd8bf8..f48089cb 100644
--- a/src/skel/skeleton.cpp
+++ b/src/skel/skeleton.cpp
@@ -1,5 +1,5 @@
#include "common.h"
-#include "patcher.h"
+
#include <stdio.h>
#include <math.h>
@@ -17,8 +17,7 @@ static RwBool DefaultVideoMode = TRUE;
bool TurnOnAnimViewer = false;
-//RsGlobalType RsGlobal;
-RsGlobalType &RsGlobal = *(RsGlobalType*)0x8F4360;
+RsGlobalType RsGlobal;
RwUInt32
RsTimer(void)
@@ -416,26 +415,3 @@ RsInitialise(void)
return result;
}
-
-
-
-
-STARTPATCHES
- InjectHook(0x584890, RsTimer, PATCH_JUMP);
- InjectHook(0x5848A0, RsCameraShowRaster, PATCH_JUMP);
- InjectHook(0x5848B0, RsCameraBeginUpdate, PATCH_JUMP);
- InjectHook(0x5848C0, RsRegisterImageLoader, PATCH_JUMP);
- InjectHook(0x5848D0, RsSetDebug, PATCH_JUMP);
- InjectHook(0x5848E0, RsMouseSetPos, PATCH_JUMP);
- InjectHook(0x5848F0, RsSelectDevice, PATCH_JUMP);
- InjectHook(0x584900, RsInputDeviceAttach, PATCH_JUMP);
- InjectHook(0x584960, rsCommandLine, PATCH_JUMP);
- InjectHook(0x584980, rsPreInitCommandLine, PATCH_JUMP);
- InjectHook(0x5849C0, RsKeyboardEventHandler, PATCH_JUMP);
- InjectHook(0x5849F0, RsPadEventHandler, PATCH_JUMP);
- InjectHook(0x584A20, RsEventHandler, PATCH_JUMP);
- InjectHook(0x584B30, RsRwTerminate, PATCH_JUMP);
- InjectHook(0x584B40, RsRwInitialise, PATCH_JUMP);
- InjectHook(0x584C30, RsTerminate, PATCH_JUMP);
- InjectHook(0x584C40, RsInitialise, PATCH_JUMP);
-ENDPATCHES \ No newline at end of file