diff options
author | SNBeast <snburchett@gmail.com> | 2021-07-10 02:58:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-10 02:58:28 +0000 |
commit | d2a86ad721f4b57004c03cc11af8887b7694158d (patch) | |
tree | 381001263bfcd39c7288e21573169e742cdd031a /include | |
parent | afdedc1b2e42c5d622f169c0ce08571fb2e232c2 (diff) | |
parent | f7c8156c5bbcff485a212e39c57802fb98bdcd00 (diff) |
Merge branch 'master' into master
Diffstat (limited to 'include')
-rw-r--r-- | include/communication_error.h | 7 | ||||
-rw-r--r-- | include/game_init.h | 12 |
2 files changed, 19 insertions, 0 deletions
diff --git a/include/communication_error.h b/include/communication_error.h new file mode 100644 index 00000000..2e8ad1c7 --- /dev/null +++ b/include/communication_error.h @@ -0,0 +1,7 @@ +#ifndef POKEDIAMOND_COMMUNICATION_ERROR_H +#define POKEDIAMOND_COMMUNICATION_ERROR_H + +void FUN_02033F50(void); +void ShowCommunicationError(u32 heap_id, u32 error, u32 error_code); + +#endif 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); |