summaryrefslogtreecommitdiff
path: root/arm9/lib/src/OS_arena.c
diff options
context:
space:
mode:
authorRevo <projectrevotpp@hotmail.com>2020-05-24 07:00:57 -0400
committerGitHub <noreply@github.com>2020-05-24 07:00:57 -0400
commit94af15fab8e80f61326fc0427c5412e60b0d67ea (patch)
tree9542fdb55f9b183b54ec043aa9f8b2c685bbd7d1 /arm9/lib/src/OS_arena.c
parent0b01c7d1c57c4e21fdb0069b3ac4f9c7276b3cc1 (diff)
parentb4743f04e30937b19aca974bf2222de8fe3eb36e (diff)
Merge pull request #107 from PikalaxALT/pikalax_work
Split rodata and bss
Diffstat (limited to 'arm9/lib/src/OS_arena.c')
-rw-r--r--arm9/lib/src/OS_arena.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arm9/lib/src/OS_arena.c b/arm9/lib/src/OS_arena.c
index ae05b49c..31796771 100644
--- a/arm9/lib/src/OS_arena.c
+++ b/arm9/lib/src/OS_arena.c
@@ -7,8 +7,9 @@
#include "OS_protectionRegion.h"
#include "OS_emulator.h"
-extern BOOL OSi_MainExArenaEnabled;
-extern BOOL OSi_Initialized; // TODO: located at 0x021d36f0
+static BOOL OSi_Initialized = FALSE;
+static BOOL OSi_MainExArenaEnabled = FALSE;
+
void SDK_MAIN_ARENA_LO(); // TODO: technically this should be defined in the lcf
extern void SDK_SECTION_ARENA_EX_START(); // TODO: technically this should be defined in the lcf
extern void SDK_SECTION_ARENA_ITCM_START(); // TODO: technically this should be defined in the lcf