summaryrefslogtreecommitdiff
path: root/include/JSystem
diff options
context:
space:
mode:
authorJonathan Wase <jonathan@familjenwase.se>2021-01-03 05:15:12 +0100
committerGitHub <noreply@github.com>2021-01-02 23:15:12 -0500
commitd2e9db37484e64f05830aad7b7e59f48139639f2 (patch)
tree9c0b5d84e6305a71901b3cca22f320228d4cf02b /include/JSystem
parent609891bc25ed4341312a056b869f0a9b5619d875 (diff)
Fixed _savegpr etc. (#54)
* renamed func_XXX to _savegpr_XX * renamed func_XXX to _restgpr_XX * renamed func_XXX to _savefpr_XX * renamed func_XXX to _restfpr_XX * cleanup functions.h and moved intrisics to mwcc.h * formatting * cleanup functions.h * fix bad-formatting from master Co-authored-by: Julgodis <>
Diffstat (limited to 'include/JSystem')
-rw-r--r--include/JSystem/J2DGraph/J2DPicture/J2DPicture.h2
-rw-r--r--include/JSystem/J2DGraph/J2DTextBox/J2DTextBox.h2
-rw-r--r--include/JSystem/JKernel/JKRAram/asm/func_802D233C.s2
-rw-r--r--include/JSystem/JKernel/JKRAram/asm/func_802D25B4.s2
-rw-r--r--include/JSystem/JKernel/JKRDvdAramRipper/asm/func_802DB160.s2
-rw-r--r--include/JSystem/JKernel/JKRDvdRipper/asm/func_802D9B98.s2
-rw-r--r--include/JSystem/JKernel/JKRDvdRipper/asm/func_802D9C54.s2
-rw-r--r--include/JSystem/JKernel/JKRDvdRipper/asm/func_802D9D10.s4
-rw-r--r--include/JSystem/JUtility/JUTGamePad/asm/func_802E08E4.s2
9 files changed, 10 insertions, 10 deletions
diff --git a/include/JSystem/J2DGraph/J2DPicture/J2DPicture.h b/include/JSystem/J2DGraph/J2DPicture/J2DPicture.h
index 35d90e7b20..1355ccc768 100644
--- a/include/JSystem/J2DGraph/J2DPicture/J2DPicture.h
+++ b/include/JSystem/J2DGraph/J2DPicture/J2DPicture.h
@@ -3,6 +3,6 @@
#include "global.h"
-class J2DPicture{};
+class J2DPicture {};
#endif \ No newline at end of file
diff --git a/include/JSystem/J2DGraph/J2DTextBox/J2DTextBox.h b/include/JSystem/J2DGraph/J2DTextBox/J2DTextBox.h
index 15d6edf34c..d5055148f3 100644
--- a/include/JSystem/J2DGraph/J2DTextBox/J2DTextBox.h
+++ b/include/JSystem/J2DGraph/J2DTextBox/J2DTextBox.h
@@ -3,6 +3,6 @@
#include "global.h"
-class J2DTextBox{};
+class J2DTextBox {};
#endif \ No newline at end of file
diff --git a/include/JSystem/JKernel/JKRAram/asm/func_802D233C.s b/include/JSystem/JKernel/JKRAram/asm/func_802D233C.s
index 5501214b51..9addc12d7a 100644
--- a/include/JSystem/JKernel/JKRAram/asm/func_802D233C.s
+++ b/include/JSystem/JKernel/JKRAram/asm/func_802D233C.s
@@ -177,7 +177,7 @@ lbl_802D2590:
/* 802D2598 002CF4D8 93 FC 00 00 */ stw r31, 0(r28)
lbl_802D259C:
/* 802D259C 002CF4DC 39 61 00 30 */ addi r11, r1, 0x30
-/* 802D25A0 002CF4E0 48 08 FC 71 */ bl func_80362210
+/* 802D25A0 002CF4E0 48 08 FC 71 */ bl _restgpr_23
/* 802D25A4 002CF4E4 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802D25A8 002CF4E8 7C 08 03 A6 */ mtlr r0
/* 802D25AC 002CF4EC 38 21 00 30 */ addi r1, r1, 0x30
diff --git a/include/JSystem/JKernel/JKRAram/asm/func_802D25B4.s b/include/JSystem/JKernel/JKRAram/asm/func_802D25B4.s
index ec0652f155..ca7128a24b 100644
--- a/include/JSystem/JKernel/JKRAram/asm/func_802D25B4.s
+++ b/include/JSystem/JKernel/JKRAram/asm/func_802D25B4.s
@@ -172,7 +172,7 @@ lbl_802D2814:
/* 802D2814 002CF754 7F 43 D3 78 */ mr r3, r26
lbl_802D2818:
/* 802D2818 002CF758 39 61 00 70 */ addi r11, r1, 0x70
-/* 802D281C 002CF75C 48 08 F9 F1 */ bl func_8036220C
+/* 802D281C 002CF75C 48 08 F9 F1 */ bl _restgpr_22
/* 802D2820 002CF760 80 01 00 74 */ lwz r0, 0x74(r1)
/* 802D2824 002CF764 7C 08 03 A6 */ mtlr r0
/* 802D2828 002CF768 38 21 00 70 */ addi r1, r1, 0x70
diff --git a/include/JSystem/JKernel/JKRDvdAramRipper/asm/func_802DB160.s b/include/JSystem/JKernel/JKRDvdAramRipper/asm/func_802DB160.s
index fa5b19aa5a..118b59f377 100644
--- a/include/JSystem/JKernel/JKRDvdAramRipper/asm/func_802DB160.s
+++ b/include/JSystem/JKernel/JKRDvdAramRipper/asm/func_802DB160.s
@@ -177,7 +177,7 @@ lbl_802DB3BC:
/* 802DB3CC 002D830C 38 60 00 00 */ li r3, 0
lbl_802DB3D0:
/* 802DB3D0 002D8310 39 61 00 30 */ addi r11, r1, 0x30
-/* 802DB3D4 002D8314 48 08 6E 3D */ bl func_80362210
+/* 802DB3D4 002D8314 48 08 6E 3D */ bl _restgpr_23
/* 802DB3D8 002D8318 80 01 00 34 */ lwz r0, 0x34(r1)
/* 802DB3DC 002D831C 7C 08 03 A6 */ mtlr r0
/* 802DB3E0 002D8320 38 21 00 30 */ addi r1, r1, 0x30
diff --git a/include/JSystem/JKernel/JKRDvdRipper/asm/func_802D9B98.s b/include/JSystem/JKernel/JKRDvdRipper/asm/func_802D9B98.s
index aa5c22e22b..804b88def1 100644
--- a/include/JSystem/JKernel/JKRDvdRipper/asm/func_802D9B98.s
+++ b/include/JSystem/JKernel/JKRDvdRipper/asm/func_802D9B98.s
@@ -44,7 +44,7 @@ lbl_802D9C00:
/* 802D9C38 002D6B78 7F E3 FB 78 */ mr r3, r31
lbl_802D9C3C:
/* 802D9C3C 002D6B7C 39 61 01 30 */ addi r11, r1, 0x130
-/* 802D9C40 002D6B80 48 08 85 D1 */ bl func_80362210
+/* 802D9C40 002D6B80 48 08 85 D1 */ bl _restgpr_23
/* 802D9C44 002D6B84 80 01 01 34 */ lwz r0, 0x134(r1)
/* 802D9C48 002D6B88 7C 08 03 A6 */ mtlr r0
/* 802D9C4C 002D6B8C 38 21 01 30 */ addi r1, r1, 0x130
diff --git a/include/JSystem/JKernel/JKRDvdRipper/asm/func_802D9C54.s b/include/JSystem/JKernel/JKRDvdRipper/asm/func_802D9C54.s
index 9d7eeebecb..b61001b794 100644
--- a/include/JSystem/JKernel/JKRDvdRipper/asm/func_802D9C54.s
+++ b/include/JSystem/JKernel/JKRDvdRipper/asm/func_802D9C54.s
@@ -44,7 +44,7 @@ lbl_802D9CBC:
/* 802D9CF4 002D6C34 7F E3 FB 78 */ mr r3, r31
lbl_802D9CF8:
/* 802D9CF8 002D6C38 39 61 01 30 */ addi r11, r1, 0x130
-/* 802D9CFC 002D6C3C 48 08 85 15 */ bl func_80362210
+/* 802D9CFC 002D6C3C 48 08 85 15 */ bl _restgpr_23
/* 802D9D00 002D6C40 80 01 01 34 */ lwz r0, 0x134(r1)
/* 802D9D04 002D6C44 7C 08 03 A6 */ mtlr r0
/* 802D9D08 002D6C48 38 21 01 30 */ addi r1, r1, 0x130
diff --git a/include/JSystem/JKernel/JKRDvdRipper/asm/func_802D9D10.s b/include/JSystem/JKernel/JKRDvdRipper/asm/func_802D9D10.s
index 8df2e794c7..903a0154d5 100644
--- a/include/JSystem/JKernel/JKRDvdRipper/asm/func_802D9D10.s
+++ b/include/JSystem/JKernel/JKRDvdRipper/asm/func_802D9D10.s
@@ -4,7 +4,7 @@
/* 802D9D14 002D6C54 7C 08 02 A6 */ mflr r0
/* 802D9D18 002D6C58 90 01 00 C4 */ stw r0, 0xc4(r1)
/* 802D9D1C 002D6C5C 39 61 00 C0 */ addi r11, r1, 0xc0
-/* 802D9D20 002D6C60 48 08 84 91 */ bl func_803621B0
+/* 802D9D20 002D6C60 48 08 84 91 */ bl _savegpr_18
/* 802D9D24 002D6C64 7C 76 1B 78 */ mr r22, r3
/* 802D9D28 002D6C68 7C 9C 23 78 */ mr r28, r4
/* 802D9D2C 002D6C6C 7C B5 2B 78 */ mr r21, r5
@@ -350,7 +350,7 @@ lbl_802DA1C8:
/* 802DA1C8 002D7108 38 60 00 00 */ li r3, 0
lbl_802DA1CC:
/* 802DA1CC 002D710C 39 61 00 C0 */ addi r11, r1, 0xc0
-/* 802DA1D0 002D7110 48 08 80 2D */ bl func_803621FC
+/* 802DA1D0 002D7110 48 08 80 2D */ bl _restgpr_18
/* 802DA1D4 002D7114 80 01 00 C4 */ lwz r0, 0xc4(r1)
/* 802DA1D8 002D7118 7C 08 03 A6 */ mtlr r0
/* 802DA1DC 002D711C 38 21 00 C0 */ addi r1, r1, 0xc0
diff --git a/include/JSystem/JUtility/JUTGamePad/asm/func_802E08E4.s b/include/JSystem/JUtility/JUTGamePad/asm/func_802E08E4.s
index 155f8fe411..088b749f98 100644
--- a/include/JSystem/JUtility/JUTGamePad/asm/func_802E08E4.s
+++ b/include/JSystem/JUtility/JUTGamePad/asm/func_802E08E4.s
@@ -189,7 +189,7 @@ lbl_802E0B9C:
/* 802E0B9C 002DDADC 48 00 04 09 */ bl checkResetSwitch__10JUTGamePadFv
/* 802E0BA0 002DDAE0 80 6D 8F 60 */ lwz r3, _sRumbleSupported-_SDA_BASE_(r13)
/* 802E0BA4 002DDAE4 39 61 00 40 */ addi r11, r1, 0x40
-/* 802E0BA8 002DDAE8 48 08 16 65 */ bl func_8036220C
+/* 802E0BA8 002DDAE8 48 08 16 65 */ bl _restgpr_22
/* 802E0BAC 002DDAEC 80 01 00 44 */ lwz r0, 0x44(r1)
/* 802E0BB0 002DDAF0 7C 08 03 A6 */ mtlr r0
/* 802E0BB4 002DDAF4 38 21 00 40 */ addi r1, r1, 0x40