Add DEAD_STRING macro to clearly distinguish unused strings

This commit is contained in:
LagoLunatic
2026-08-31 16:08:40 -04:00
parent e7e0e8e581
commit 94a5eadb5f
47 changed files with 225 additions and 221 deletions
+3
View File
@@ -79,6 +79,9 @@ extern void __sync();
#define SJIS(character, value) ((u32)value)
#endif
// Hack to make strings with no references appear in the string pool for matching.
#define DEAD_STRING(s) OSReport(s)
// Hack to trick the compiler into not inlining functions that use this macro.
#define FORCE_DONT_INLINE \
(void*)0; (void*)0; (void*)0; (void*)0; (void*)0; (void*)0; (void*)0; (void*)0; (void*)0; (void*)0; \