fix build on new libctru and add lang fetch (#358)

removes ACT functions now in libctru
implement a single function to load a CFG_Language
This commit is contained in:
Théo B.
2025-10-25 22:07:54 +02:00
committed by GitHub
parent ba08ab9108
commit 69e0edffb4
4 changed files with 20 additions and 54 deletions

View File

@@ -193,4 +193,8 @@ typedef enum {
Language_s init_strings(CFG_Language lang);
extern Language_s language;
// fetches the system language through CFGU_GetSystemLanguage
// and returns the appropriate CFG_Language enum value
CFG_Language get_system_language(void);
#endif