Check versions less frequently, retry connections only once

This commit is contained in:
Henrik Rydgard 2013-12-12 22:30:06 +01:00
parent 828dec56d5
commit 305cd6c8d1
2 changed files with 2 additions and 2 deletions

View File

@ -387,7 +387,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
// Sometimes the download may not be finished when the main screen shows (if the user dismisses the
// splash screen quickly), but then we'll just show the notification next time instead, we store the
// upgrade number in the ini.
if (iRunCount % 5 == 0 && bCheckForNewVersion) {
if (iRunCount % 10 == 0 && bCheckForNewVersion) {
std::shared_ptr<http::Download> dl = g_DownloadManager.StartDownloadWithCallback(
"http://www.ppsspp.org/version.json", "", &DownloadCompletedCallback);
dl->SetHidden(true);

2
native

@ -1 +1 @@
Subproject commit b99b826f5218c633f1f79d75e8e3e0b0e795443a
Subproject commit 1be485c2a983806c820bf0aee2239fafab8662ee