forked from Tacoman369/MM3D-Randomizer-Dev
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A locale.txt file will now only be generated if the selected game region is different to the console region. If a locale.txt file does need to be generated a new option to select the language set by the file will appear. If available, the default value will be the system's language setting, otherwise it will default to English.
- Loading branch information
1 parent
5b13aa0
commit a668f2d
Showing
8 changed files
with
114 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#pragma once | ||
|
||
#include <3ds.h> | ||
|
||
void SystemInfoInit(void); | ||
CFG_Region SystemInfo_GetRegion(void); | ||
CFG_Language SystemInfo_GetLanguage(void); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#include "system.hpp" | ||
|
||
CFG_Region systemRegion; | ||
CFG_Language systemLanguage; | ||
|
||
void SystemInfoInit(void) { | ||
cfguInit(); | ||
CFGU_SecureInfoGetRegion((u8*)&systemRegion); | ||
CFGU_GetSystemLanguage((u8*)&systemLanguage); | ||
cfguExit(); | ||
} | ||
|
||
CFG_Region SystemInfo_GetRegion(void) { return systemRegion; } | ||
CFG_Language SystemInfo_GetLanguage(void) { return systemLanguage; } |