From d777bee871875f336299c8863e06918ffe0d0b8d Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 22 Oct 2020 13:02:45 -0400 Subject: figured out how to reference global variables from inline asm functions using a special declaration syntax and #pragmas for mwcceppc 3.0 --- include/code_801DB81C.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 include/code_801DB81C.h (limited to 'include') diff --git a/include/code_801DB81C.h b/include/code_801DB81C.h new file mode 100644 index 0000000..3414be5 --- /dev/null +++ b/include/code_801DB81C.h @@ -0,0 +1,16 @@ +#ifndef POKEREVO_CODE_801DB81C_H +#define POKEREVO_CODE_801DB81C_H + +#ifdef __cplusplus +extern "C" { +#endif + +u32 func_801DB978(u8 p1); +void func_801DB9FC(void); +void func_801DBA8C(void); + +#ifdef __cplusplus +} +#endif + +#endif //POKEREVO_CODE_801DB81C_H -- cgit v1.2.3