summaryrefslogtreecommitdiff
path: root/arm9/asm/error_handling.s
blob: 04589e6c893ce70941c191b724f75530f8a6bc83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
	.include "asm/macros.inc"
    .include "global.inc"

	.text

	thumb_func_start ErrorHandling
ErrorHandling: ; 0x02020C2C
	push {r3, lr}
	bl FUN_02031810
	cmp r0, #0x0
	beq _02020C42
	bl OS_GetProcMode
	cmp r0, #0x12
	beq _02020C42
	bl FUN_0208A9B8
_02020C42:
	pop {r3, pc}