mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Switch to JSON.
Custom Path's and Colors needs to be redo for this.
This commit is contained in:
@@ -309,7 +309,7 @@ void ScriptList::DrawList(void) const {
|
||||
Gui::DrawStringCentered(0, 80, 0.7f, Config::TxtColor, Lang::get("TITLE") + std::string(fileInfo[selection].title), 400);
|
||||
Gui::DrawStringCentered(0, 100, 0.7f, Config::TxtColor, Lang::get("AUTHOR") + std::string(fileInfo[selection].author), 400);
|
||||
Gui::DrawStringCentered(0, 120, 0.6f, Config::TxtColor, std::string(fileInfo[selection].shortDesc), 400);
|
||||
|
||||
|
||||
Gui::DrawBottom();
|
||||
if (listMode == 0) {
|
||||
for(int i=0;i<ENTRIES_PER_SCREEN && i<(int)fileInfo.size();i++) {
|
||||
@@ -508,7 +508,7 @@ void ScriptList::SelectFunction(u32 hDown, u32 hHeld) {
|
||||
Config::TxtColor = TextColor;
|
||||
Config::SelectedColor = selected;
|
||||
Config::UnselectedColor = unselected;
|
||||
Config::saveConfig();
|
||||
Config::save();
|
||||
}
|
||||
|
||||
if (hDown & KEY_B) {
|
||||
|
||||
@@ -144,7 +144,7 @@ void Settings::LanguageSelection(u32 hDown, touchPosition touch) {
|
||||
if (touching(touch, langBlocks[language])) {
|
||||
Config::lang = language;
|
||||
Lang::load(Config::lang);
|
||||
Config::saveConfig();
|
||||
Config::save();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -161,7 +161,7 @@ void Settings::colorChanging(u32 hDown, touchPosition touch) {
|
||||
int blue;
|
||||
|
||||
if (hDown & KEY_B) {
|
||||
Config::saveConfig();
|
||||
Config::save();
|
||||
Gui::screenBack();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user