mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Download previous versions (#20)
* WIP: Start adding downloading pervious versions * Oops this was in here * Properly add Download previous Releases. * Finally fix it. Co-authored-by: StackZ <47382115+SuperSaiyajinStackZ@users.noreply.github.com>
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
#include "config.hpp"
|
||||
#include "ftpScreen.hpp"
|
||||
#include "mainMenu.hpp"
|
||||
#include "scriptHelper.hpp"
|
||||
#include "scriptlist.hpp"
|
||||
#include "settings.hpp"
|
||||
#include "unistore.hpp"
|
||||
@@ -35,6 +36,7 @@ extern bool exiting;
|
||||
extern bool touching(touchPosition touch, Structs::ButtonPos button);
|
||||
extern int fadealpha;
|
||||
extern bool fadein;
|
||||
extern u32 TextColor;
|
||||
|
||||
void MainMenu::Draw(void) const {
|
||||
GFX::DrawTop();
|
||||
@@ -126,4 +128,10 @@ void MainMenu::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
|
||||
Gui::setScreen(std::make_unique<FTPScreen>());
|
||||
}
|
||||
}
|
||||
|
||||
/* That was a test.
|
||||
if (hDown & KEY_X) {
|
||||
TextColor = Config::TxtColor;
|
||||
ScriptHelper::downloadRelease("Universal-Team/extras", "Universal-Updater.3dsx", "/3ds/Universal-Updater.3dsx", true, true, "Downloading Universal-Updater...");
|
||||
}*/
|
||||
}
|
||||
Reference in New Issue
Block a user