http: Use Path for the download file.

This commit is contained in:
Unknown W. Brackets committed 2021-05-14 22:46:03 -07:00
1 parent ed2ade4e22
commit 2a9170a2ea
9 files changed
+29 -24

No files matched your search

+1 -1
View File
@@ -1301,7 +1301,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
// upgrade number in the ini.
if (iRunCount % 10 == 0 && bCheckForNewVersion) {
std::shared_ptr<http::Download> dl = g_DownloadManager.StartDownloadWithCallback(
"http://www.ppsspp.org/version.json", "", &DownloadCompletedCallback);
"http://www.ppsspp.org/version.json", Path(), &DownloadCompletedCallback);
dl->SetHidden(true);
}