summaryrefslogtreecommitdiff
path: root/arm7/asm/OS_terminate_proc.s
diff options
context:
space:
mode:
authorCleverking2003 <30466983+Cleverking2003@users.noreply.github.com>2020-06-06 19:14:41 +0300
committerGitHub <noreply@github.com>2020-06-06 19:14:41 +0300
commit465ca61e67cb2b04cbe316fedab513f0b0b4e10f (patch)
treea2329b091d524c0d389e9d0b4750bde02cf75ede /arm7/asm/OS_terminate_proc.s
parent3229f51b696bb1f7af7a9286f4f196c55eb7c21f (diff)
parentce2b89342f6277cf881d6a03194ef43b2a310fe4 (diff)
Merge branch 'master' into pikalax_work
Diffstat (limited to 'arm7/asm/OS_terminate_proc.s')
-rw-r--r--arm7/asm/OS_terminate_proc.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/arm7/asm/OS_terminate_proc.s b/arm7/asm/OS_terminate_proc.s
new file mode 100644
index 00000000..08b79c9a
--- /dev/null
+++ b/arm7/asm/OS_terminate_proc.s
@@ -0,0 +1,15 @@
+ .include "asm/macros.inc"
+ .include "global.inc"
+
+ .text
+
+ arm_func_start OS_Terminate
+OS_Terminate: ; 0x037FB1F0
+ stmfd sp!, {lr}
+ sub sp, sp, #4
+ mov r0, #0
+ bl CTRDG_VibPulseEdgeUpdate
+_037FB200:
+ bl OS_DisableInterrupts
+ bl FUN_037F8530
+ b _037FB200