mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-12-06 03:07:19 +00:00
Also add Custom Themes to this branch.
I mean, cause why not i guess. xD
This commit is contained in:
1 parent
2b455c2dd0
commit
aa58e23c13
32 files changed
+693
-385
No files matched your search
+2
-3
@@ -49,6 +49,8 @@ static void InitForARG() {
|
||||
mkdir("sdmc:/3ds/Universal-Updater/shortcuts", 0777);
|
||||
|
||||
config = std::make_unique<Config>();
|
||||
UIThemes = std::make_unique<Theme>();
|
||||
UIThemes->LoadTheme(config->theme());
|
||||
|
||||
CFG_Region region = CFG_REGION_USA;
|
||||
if(config->language() == "zh-CN") {
|
||||
@@ -60,9 +62,6 @@ static void InitForARG() {
|
||||
}
|
||||
Gui::init(region);
|
||||
|
||||
config = std::make_unique<Config>();
|
||||
GFX::SelectedTheme = config->theme();
|
||||
if (GFX::SelectedTheme > (_THEME_AMOUNT - 1)) GFX::SelectedTheme = 0; // In case it is above the max themes.
|
||||
Lang::load(config->language());
|
||||
Init::LoadFont();
|
||||
osSetSpeedupEnable(true); // Enable speed-up for New 3DS users.
|
||||
|
||||
Reference in new issue
Block a user