summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-03-06 10:57:42 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2020-03-06 10:57:42 -0500
commit3581ce9ba202377282ee58ffe14037088634b954 (patch)
tree1b950eaec4c23865f495b328ad0c0b53b8efef9c /include
parentf483a93beaaeff82ad0a6b8b6e67a5a1b25ec989 (diff)
Decomp and doc clear_save_data_screen
Diffstat (limited to 'include')
-rw-r--r--include/gba/macro.h10
-rw-r--r--include/strings.h4
2 files changed, 14 insertions, 0 deletions
diff --git a/include/gba/macro.h b/include/gba/macro.h
index 6cf2e1651..cc8535305 100644
--- a/include/gba/macro.h
+++ b/include/gba/macro.h
@@ -171,6 +171,16 @@
#define DmaFill16Defvars(dmaNum, value, dest, size) DmaFillDefvars(dmaNum, value, dest, size, 16)
#define DmaFill32Defvars(dmaNum, value, dest, size) DmaFillDefvars(dmaNum, value, dest, size, 32)
+#define DmaClearDefvars(dmaNum, dest, size, bit) \
+{ \
+ void *_dest = dest; \
+ u32 _size = size; \
+ DmaClear##bit(dmaNum, _dest, _size); \
+}
+
+#define DmaClear16Defvars(dmaNum, dest, size) DmaClearDefvars(dmaNum, dest, size, 16)
+#define DmaClear32Defvars(dmaNum, dest, size) DmaClearDefvars(dmaNum, dest, size, 32)
+
#define IntrEnable(flags) \
{ \
u16 imeTemp; \
diff --git a/include/strings.h b/include/strings.h
index f2207e7a7..d5c6f4b58 100644
--- a/include/strings.h
+++ b/include/strings.h
@@ -1309,4 +1309,8 @@ extern const u8 gText_QuestLog_VictoryRoad[];
extern const u8 gText_QuestLog_PokemonLeague[];
extern const u8 gText_QuestLog_CeruleanCave[];
+// clear_save_data_screen
+extern const u8 gUnknown_841B69E[];
+extern const u8 gUnknown_841B6B9[];
+
#endif //GUARD_STRINGS_H