summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/DTCM/UnkStruct_027e05f8.hpp4
-rw-r--r--include/global.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/include/DTCM/UnkStruct_027e05f8.hpp b/include/DTCM/UnkStruct_027e05f8.hpp
index 721c1be9..17794f09 100644
--- a/include/DTCM/UnkStruct_027e05f8.hpp
+++ b/include/DTCM/UnkStruct_027e05f8.hpp
@@ -13,10 +13,10 @@ struct UnkStruct_027e05f8 {
~UnkStruct_027e05f8();
// Big gap to next TU
- void Init();
+ UnkStruct_027e05f8();
void func_02037458(u16 param1);
void func_02037480();
- static unk32 func_02037490(unk32 param1);
+ static bool func_02037490();
};
extern UnkStruct_027e05f8 data_027e05f8;
diff --git a/include/global.h b/include/global.h
index ca961164..a12885e7 100644
--- a/include/global.h
+++ b/include/global.h
@@ -18,6 +18,10 @@
// `override` was added in C++11 before the DS, so we only use the keyword to indicate overriden functions
#define override
+// Puts variables in the DTCM module by using #pragma section dtcm begin|end
+#pragma define_section dtcm ".dtcm" \
+ ".dtcm"
+
// Define .sbss variables by using #pragma section sbss begin|end
#pragma define_section sbss ".data" \
".sbss"