diff options
author | Revo <projectrevotpp@hotmail.com> | 2020-05-29 14:17:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-29 14:17:03 -0400 |
commit | e6c0d16a679663e816130ca7bc793cab682f911c (patch) | |
tree | 57a330cbec60b4033531c452406771e79301a680 /arm9/lib/include/OS_reset.h | |
parent | d6fd8d1ed926feebffab4154a84eb70a84083bfc (diff) | |
parent | 96183df2b89ae0f2294520550ed382d06250c177 (diff) |
Merge pull request #128 from PikalaxALT/pikalax_work
Decompile unk_02006234.s; misc cleanup
Diffstat (limited to 'arm9/lib/include/OS_reset.h')
-rw-r--r-- | arm9/lib/include/OS_reset.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arm9/lib/include/OS_reset.h b/arm9/lib/include/OS_reset.h index 4f0b80a9..1efc3f2d 100644 --- a/arm9/lib/include/OS_reset.h +++ b/arm9/lib/include/OS_reset.h @@ -19,4 +19,9 @@ void OS_ResetSystem(u32 parameter); void OSi_DoBoot(void); static void OSi_CpuClear32(register u32 data, register void *destp, register u32 size); +static inline u32 OS_GetResetParameter(void) +{ + return (u32)*(u32 *)HW_RESET_PARAMETER_BUF; +} + #endif //POKEDIAMOND_OS_RESET_H |