Woops, fixes and defines. :P

This commit is contained in:
StackZ
2020-11-07 10:52:08 +01:00
parent ee2769b294
commit 0dc8369bff
6 changed files with 32 additions and 12 deletions
+14
View File
@@ -77,6 +77,20 @@ MainScreen::MainScreen() {
} else {
notConnectedMsg();
}
} else {
const UniStoreInfo info = GetInfo("sdmc:/3ds/Universal-Updater/stores/universal-db.unistore", "universal-db.unistore");
if (info.Version != _UNISTORE_VERSION) {
if (checkWifiStatus()) {
std::string tmp = ""; // Just a temp.
DownloadUniStore("https://db.universal-team.net/unistore/universal-db.unistore", -1, tmp, true, true);
DownloadSpriteSheet("https://db.universal-team.net/unistore/universal-db.t3x", "universal-db.t3x");
} else {
notConnectedMsg();
}
}
}
}