summaryrefslogtreecommitdiff
path: root/arm7/asm/OS_terminate_proc.s
diff options
context:
space:
mode:
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