Fix version parsing for upgrade checker for short versions like "1.2"

This commit is contained in:
Henrik Rydgard 2016-02-14 16:24:10 +01:00
parent b5959be2ec
commit eb3706c20a

View file

@ -924,7 +924,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 !defined(ARMEABI)
#if !defined(ARMEABI) // blackberry and stuff? why do we still keep this check?
if (iRunCount % 10 == 0 && bCheckForNewVersion) {
std::shared_ptr<http::Download> dl = g_DownloadManager.StartDownloadWithCallback(
"http://www.ppsspp.org/version.json", "", &DownloadCompletedCallback);