diff options
author | red031000 <rubenru09@aol.com> | 2020-05-05 22:19:58 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-05-05 22:19:58 +0100 |
commit | f90214e2716f7d5169784f2301254033d82f984d (patch) | |
tree | 6b049bde2bb352b661e839fe49aac3198187ca1a /arm9/lib/src/OS_emulator.c | |
parent | 53949ed9e544abb8fcb7ef386451b77ce6afe866 (diff) |
OS_emulator.c
Diffstat (limited to 'arm9/lib/src/OS_emulator.c')
-rw-r--r-- | arm9/lib/src/OS_emulator.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/arm9/lib/src/OS_emulator.c b/arm9/lib/src/OS_emulator.c new file mode 100644 index 00000000..1be0e163 --- /dev/null +++ b/arm9/lib/src/OS_emulator.c @@ -0,0 +1,18 @@ +// +// Created by red031000 on 2020-05-05. +// + +#include "OS_emulator.h" +#include "function_target.h" + +extern u32 OSi_ConsoleTypeCache; //todo fix bss + +ARM_FUNC BOOL OS_IsRunOnEmulator() { + return FALSE; +} + +ARM_FUNC u32 OS_GetConsoleType() { + OSi_ConsoleTypeCache = OS_CONSOLE_NITRO | OS_CONSOLE_DEV_CARD | OS_CONSOLE_SIZE_4MB; + + return OSi_ConsoleTypeCache; +} |