diff options
author | red031000 <rubenru09@aol.com> | 2020-06-07 17:28:17 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-06-07 17:28:17 +0100 |
commit | 1c7bd60010bb429bd6cbcfad889bef9e7058cb89 (patch) | |
tree | fff29ec53e2f943ea73c977e1870c10b985dbd19 /include/sinit.h | |
parent | 292a0f16f5492c0b89b11f4eec9bc8397874f9f0 (diff) | |
parent | c2d3d0fb118d3f9ff14f8f5293f54d0c37421a70 (diff) |
Merge branch 'master' of https://github.com/martmists/pokediamond
Diffstat (limited to 'include/sinit.h')
-rw-r--r-- | include/sinit.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/sinit.h b/include/sinit.h new file mode 100644 index 00000000..47fe4438 --- /dev/null +++ b/include/sinit.h @@ -0,0 +1,10 @@ +#ifndef GUARD_SINIT_H +#define GUARD_SINIT_H + +static void NitroStaticInit(void); +#pragma define_section SINIT ".sinit" abs32 RWX +#pragma section SINIT begin +SDK_FORCE_EXPORT static void (*NitroStaticInit_[])(void) = { NitroStaticInit }; +#pragma section SINIT end + +#endif //GUARD_SINIT_H |