aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxapi/sys/setdefaultexitfromexception.s
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-04-06 10:11:07 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2019-04-06 10:11:07 +0800
commitf3e040230772f978540a71aea43dfde200992922 (patch)
treebd8ca31b72dd01e24980b073854e263589530f56 /libpsn00b/psxapi/sys/setdefaultexitfromexception.s
downloadpsn00bsdk-f3e040230772f978540a71aea43dfde200992922.tar.gz
First commit
Diffstat (limited to 'libpsn00b/psxapi/sys/setdefaultexitfromexception.s')
-rw-r--r--libpsn00b/psxapi/sys/setdefaultexitfromexception.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/libpsn00b/psxapi/sys/setdefaultexitfromexception.s b/libpsn00b/psxapi/sys/setdefaultexitfromexception.s
new file mode 100644
index 0000000..baaf591
--- /dev/null
+++ b/libpsn00b/psxapi/sys/setdefaultexitfromexception.s
@@ -0,0 +1,10 @@
+.set noreorder
+.section .text
+
+.global SetDefaultExitFromException
+.type SetDefaultExitFromException, @function
+SetDefaultExitFromException:
+ addiu $t2, $0, 0xb0
+ jr $t2
+ addiu $t1, $0, 0x18
+