summaryrefslogtreecommitdiff
path: root/arm9/asm/OS_emulator.s
diff options
context:
space:
mode:
authorCleverking2003 <30466983+Cleverking2003@users.noreply.github.com>2020-04-29 23:00:35 +0300
committerGitHub <noreply@github.com>2020-04-29 23:00:35 +0300
commit356496df593888c3aa241af3bdaa994fe881cf07 (patch)
tree761763b649e35b089c7ff17d629e1e268bb2f086 /arm9/asm/OS_emulator.s
parent6278ec0cd56a76abff65fde8c9898bf759965baf (diff)
parent8791fd7453bba70773b07a048152935e816ad095 (diff)
Merge branch 'master' into pikalax_work
Diffstat (limited to 'arm9/asm/OS_emulator.s')
-rw-r--r--arm9/asm/OS_emulator.s19
1 files changed, 19 insertions, 0 deletions
diff --git a/arm9/asm/OS_emulator.s b/arm9/asm/OS_emulator.s
new file mode 100644
index 00000000..69207a5e
--- /dev/null
+++ b/arm9/asm/OS_emulator.s
@@ -0,0 +1,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