Woops, fixes and defines. :P

This commit is contained in:
StackZ committed 2020-11-07 10:52:08 +01:00
1 parent ee2769b294
commit 0dc8369bff
6 files changed
+32 -12

No files matched your search

+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();
}
}
}
}