Switch to JSON.

Custom Path's and Colors needs to be redo for this.
This commit is contained in:
VoltZ
2019-11-10 15:53:04 +01:00
parent 18733e7a9b
commit 08b962b560
8 changed files with 111 additions and 458 deletions
+3 -3
View File
@@ -63,11 +63,11 @@ int main()
mkdir("sdmc:/3ds/Universal-Updater", 0777);
mkdir("sdmc:/3ds/Universal-Updater/scripts", 0777);
Config::loadConfig();
// We need to make sure, the file exist.
if(access("sdmc:/3ds/Universal-Updater/Settings.ini", F_OK) == -1 ) {
Config::saveConfig();
if(access("sdmc:/3ds/Universal-Updater/Settings.json", F_OK) == -1 ) {
Config::initializeNewConfig();
}
Config::load();
Lang::load(Config::lang);
Gui::setScreen(std::make_unique<MainMenu>());
osSetSpeedupEnable(true); // Enable speed-up for New 3DS users