summaryrefslogtreecommitdiff
path: root/arm9/asm/MI_init.s
blob: 282dde3bf67701d437c83e81e8e6b28f23929433 (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

	arm_func_start MI_Init
MI_Init: ; 0x020CE648
	stmdb sp!, {lr}
	sub sp, sp, #0x4
	mov r0, #0x3
	bl MI_SetWramBank
	mov r0, #0x0
	bl MI_StopDma
	add sp, sp, #0x4
	ldmfd sp!, {lr}
	bx lr