summaryrefslogtreecommitdiffstats
path: root/src/skel/skeleton.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-04-17 17:08:26 +0200
committerGitHub <noreply@github.com>2020-04-17 17:08:26 +0200
commit1c74d111e8cafa4ad70837725c71f6d478390f01 (patch)
tree818918190bf4403c32137d7348a77e23b643a669 /src/skel/skeleton.cpp
parentimplemented CVector2D::NormaliseSafe for SkidMarks (diff)
parentappveyor setup (diff)
downloadre3-1c74d111e8cafa4ad70837725c71f6d478390f01.tar
re3-1c74d111e8cafa4ad70837725c71f6d478390f01.tar.gz
re3-1c74d111e8cafa4ad70837725c71f6d478390f01.tar.bz2
re3-1c74d111e8cafa4ad70837725c71f6d478390f01.tar.lz
re3-1c74d111e8cafa4ad70837725c71f6d478390f01.tar.xz
re3-1c74d111e8cafa4ad70837725c71f6d478390f01.tar.zst
re3-1c74d111e8cafa4ad70837725c71f6d478390f01.zip
Diffstat (limited to 'src/skel/skeleton.cpp')
-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