diff options
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); |