Achievements: Use retryable client error status code
This commit is contained in:
@ -1169,7 +1169,7 @@ bool GameList::DownloadCovers(const std::vector<std::string>& url_templates, boo
|
||||
downloader->CreateRequest(
|
||||
std::move(url), [use_serial, &save_callback, entry_path = std::move(entry_path), filename = std::move(filename)](
|
||||
s32 status_code, std::string content_type, Common::HTTPDownloader::Request::Data data) {
|
||||
if (status_code != Common::HTTPDownloader::HTTP_OK || data.empty())
|
||||
if (status_code != Common::HTTPDownloader::HTTP_STATUS_OK || data.empty())
|
||||
return;
|
||||
|
||||
std::unique_lock lock(s_mutex);
|
||||
|
||||
Reference in New Issue
Block a user