mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Add Script path Selection inside U-U!
Press <Y> inside the Settings Sub Menu to select it.
This commit is contained in:
@@ -167,7 +167,7 @@ void MainMenu::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
|
||||
} else {
|
||||
notConnectedMsg();
|
||||
}
|
||||
} else if (touching(touch, mainButtons[2])) {
|
||||
} else if (touching(touch, mainButtons[2])) {
|
||||
if (checkWifiStatus() == true) {
|
||||
Screen::set(std::make_unique<TinyDB>());
|
||||
} else {
|
||||
|
||||
@@ -217,6 +217,10 @@ void Settings::SubMenuLogic(u32 hDown, u32 hHeld, touchPosition touch) {
|
||||
if(Selection > 0) Selection--;
|
||||
}
|
||||
|
||||
if (hDown & KEY_Y) {
|
||||
Config::ScriptPath = selectFilePath(Lang::get("SELECT_SCRIPT_PATH"));
|
||||
}
|
||||
|
||||
if (hDown & KEY_DOWN) {
|
||||
if(Selection < 2) Selection++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user