summaryrefslogtreecommitdiff
path: root/include/game_init.h
diff options
context:
space:
mode:
authorAkira Akashi <rubenru09@aol.com>2021-07-10 00:27:50 +0100
committerGitHub <noreply@github.com>2021-07-10 00:27:50 +0100
commitf7c8156c5bbcff485a212e39c57802fb98bdcd00 (patch)
treea4a85627cb6fed0154f5ace47979d75c1ddea6f6 /include/game_init.h
parent8aa6bcd0c030301f5d5b7712c457aa15db88fec1 (diff)
parentb1d8597062896635ac8de02da3804ab738e8bfed (diff)
Merge pull request #429 from tgsm/communication_error
Decompile unk_02033F50 -> communication_error
Diffstat (limited to 'include/game_init.h')
-rw-r--r--include/game_init.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/game_init.h b/include/game_init.h
index bf6569c4..0d2c9332 100644
--- a/include/game_init.h
+++ b/include/game_init.h
@@ -3,6 +3,18 @@
#include "main.h"
+typedef volatile struct
+{
+ u8 sys_and_irq_stack[0x3F80];
+ u8 svc_stack[0x40];
+ u8 reserved[0x38];
+ u32 intr_check;
+ void * intr_vector;
+}
+OS_DTCM;
+
+#define DTCM (*(OS_DTCM *)HW_DTCM)
+
void FUN_02015EA0(void);
void FUN_02015ED4(void);
void FUN_02015EF4(void);