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

    .text

	arm_func_start OS_GetConsoleType
OS_GetConsoleType: ; 0x020CBBC0
	ldr r0, _020CBBD0 ; =0x82000001
	ldr r1, _020CBBD4 ; =0x02106828
	str r0, [r1, #0x0]
	bx lr
	.balign 4
_020CBBD0: .word 0x82000001
_020CBBD4: .word 0x02106828

	arm_func_start OS_IsRunOnEmulator
OS_IsRunOnEmulator:
	mov r0, #0x0
	bx lr