summaryrefslogtreecommitdiff
path: root/include/sinit.h
diff options
context:
space:
mode:
authorCleverking2003 <30466983+Cleverking2003@users.noreply.github.com>2020-06-07 19:27:06 +0300
committerGitHub <noreply@github.com>2020-06-07 19:27:06 +0300
commitc2d3d0fb118d3f9ff14f8f5293f54d0c37421a70 (patch)
tree0ba430d4945004642a4d738f338a354271c7b9c1 /include/sinit.h
parent760a22318663896b2ebd76d8d3213dcc9e9bcfe5 (diff)
parent04f767c06d9e5702cdbb41bd49a2791164e021f1 (diff)
Merge pull request #143 from PikalaxALT/pikalax_work
Update NARC rules; decompile growth rates
Diffstat (limited to 'include/sinit.h')
-rw-r--r--include/sinit.h10
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