mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Whoops, forgot about the autoboot ones.
This commit is contained in:
@@ -473,6 +473,7 @@ void ScriptList::ListSelection(u32 hDown, u32 hHeld, touchPosition touch) {
|
|||||||
if (Msg::promptMsg(Lang::get("DISABLE_AUTOBOOT"))) {
|
if (Msg::promptMsg(Lang::get("DISABLE_AUTOBOOT"))) {
|
||||||
Config::autoboot = 0;
|
Config::autoboot = 0;
|
||||||
Config::AutobootFile = "";
|
Config::AutobootFile = "";
|
||||||
|
changesMade = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (dirContents[Selection].isDirectory) {
|
if (dirContents[Selection].isDirectory) {
|
||||||
@@ -481,6 +482,7 @@ void ScriptList::ListSelection(u32 hDown, u32 hHeld, touchPosition touch) {
|
|||||||
if (Msg::promptMsg(Lang::get("AUTOBOOT_SCRIPT"))) {
|
if (Msg::promptMsg(Lang::get("AUTOBOOT_SCRIPT"))) {
|
||||||
Config::AutobootFile = Config::ScriptPath + dirContents[Selection].name;
|
Config::AutobootFile = Config::ScriptPath + dirContents[Selection].name;
|
||||||
Config::autoboot = 2;
|
Config::autoboot = 2;
|
||||||
|
changesMade = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -690,7 +692,7 @@ void ScriptList::SelectFunction(u32 hDown, u32 hHeld, touchPosition touch) {
|
|||||||
Config::TxtColor = TextColor;
|
Config::TxtColor = TextColor;
|
||||||
Config::SelectedColor = selected;
|
Config::SelectedColor = selected;
|
||||||
Config::UnselectedColor = unselected;
|
Config::UnselectedColor = unselected;
|
||||||
Config::save();
|
changesMade = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Config::viewMode == 0) {
|
if (Config::viewMode == 0) {
|
||||||
|
|||||||
@@ -745,6 +745,7 @@ void UniStore::StoreSelectionLogic(u32 hDown, u32 hHeld, touchPosition touch) {
|
|||||||
if (Msg::promptMsg(Lang::get("DISABLE_AUTOBOOT"))) {
|
if (Msg::promptMsg(Lang::get("DISABLE_AUTOBOOT"))) {
|
||||||
Config::autoboot = 0;
|
Config::autoboot = 0;
|
||||||
Config::AutobootFile = "";
|
Config::AutobootFile = "";
|
||||||
|
changesMade = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (dirContents[Selection].isDirectory) {
|
if (dirContents[Selection].isDirectory) {
|
||||||
@@ -753,6 +754,7 @@ void UniStore::StoreSelectionLogic(u32 hDown, u32 hHeld, touchPosition touch) {
|
|||||||
if (Msg::promptMsg(Lang::get("AUTOBOOT_STORE"))) {
|
if (Msg::promptMsg(Lang::get("AUTOBOOT_STORE"))) {
|
||||||
Config::AutobootFile = Config::StorePath + dirContents[Selection].name;
|
Config::AutobootFile = Config::StorePath + dirContents[Selection].name;
|
||||||
Config::autoboot = 1;
|
Config::autoboot = 1;
|
||||||
|
changesMade = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user