summaryrefslogtreecommitdiff
path: root/asm/SDK/VF/pf_errnum.s
diff options
context:
space:
mode:
authorRevo <projectrevotpp@hotmail.com>2020-10-10 23:16:32 -0400
committerGitHub <noreply@github.com>2020-10-10 23:16:32 -0400
commitb8aab28e324140679fd967b06013a00459d51861 (patch)
tree5575b0910a0d94c8ea37005d246445a9a0d7a5fb /asm/SDK/VF/pf_errnum.s
parent7a84a70e2495aa1a1e9db29fd2c5daa2d15414dd (diff)
parent4f6254bcc5232b6087f3843c6c2abf6d9f700fb1 (diff)
Merge pull request #137 from mparisi20/master
finish splitting VF and start splitting DWC
Diffstat (limited to 'asm/SDK/VF/pf_errnum.s')
-rw-r--r--asm/SDK/VF/pf_errnum.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/asm/SDK/VF/pf_errnum.s b/asm/SDK/VF/pf_errnum.s
new file mode 100644
index 0000000..63938b6
--- /dev/null
+++ b/asm/SDK/VF/pf_errnum.s
@@ -0,0 +1,15 @@
+.include "macros.inc"
+
+.section .text, "ax" # 0x80006980 - 0x803E1E60
+
+.global VFipf2_errnum
+VFipf2_errnum:
+/* 8031A258 00315EB8 94 21 FF F0 */ stwu r1, -0x10(r1)
+/* 8031A25C 00315EBC 7C 08 02 A6 */ mflr r0
+/* 8031A260 00315EC0 90 01 00 14 */ stw r0, 0x14(r1)
+/* 8031A264 00315EC4 4B FF F9 8D */ bl VFiPFVOL_errnum
+/* 8031A268 00315EC8 4B FF FF 79 */ bl VFiPFAPI_convertError
+/* 8031A26C 00315ECC 80 01 00 14 */ lwz r0, 0x14(r1)
+/* 8031A270 00315ED0 7C 08 03 A6 */ mtlr r0
+/* 8031A274 00315ED4 38 21 00 10 */ addi r1, r1, 0x10
+/* 8031A278 00315ED8 4E 80 00 20 */ blr