summaryrefslogtreecommitdiff
path: root/arm9/asm/OS_emulator.s
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2020-04-29 02:41:21 +0100
committerred031000 <rubenru09@aol.com>2020-04-29 02:41:21 +0100
commit2b7ae1f75a109553df78c9f8929e6854ea73b62e (patch)
tree59f8a3a19db20397468658b2cf03cd4f6ba17100 /arm9/asm/OS_emulator.s
parente56eab5ba606e2095e4565bcfab14b25f9ff655d (diff)
split OS_arm9.s
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