mirror of
https://github.com/zeldaret/oot
synced 2026-08-19 05:52:22 -04:00
Add T macro for translated debug strings (#2064)
* Add T macro for translated debug strings * Hyral -> Hyrule * put some more care into z_std_dma
This commit is contained in:
@@ -7,6 +7,13 @@
|
||||
#define BAD_RETURN(type) void
|
||||
#endif
|
||||
|
||||
/**
|
||||
* The T macro holds translations in English for original debug strings written in Japanese.
|
||||
* The translated strings match the original debug strings, they are only direct translations.
|
||||
* For example, any original name is left as is rather than being replaced with the name in the codebase.
|
||||
*/
|
||||
#define T(jp, en) jp
|
||||
|
||||
#define ARRAY_COUNT(arr) (s32)(sizeof(arr) / sizeof(arr[0]))
|
||||
#define ARRAY_COUNTU(arr) (u32)(sizeof(arr) / sizeof(arr[0]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user