Merge pull request #9885 from Tilka/datel

GameFile: don't download covers for empty game IDs
This commit is contained in:
Tilka 2021-07-11 19:52:20 +01:00 committed by GitHub
commit f9baff46a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ bool GameFile::CustomCoverChanged()
void GameFile::DownloadDefaultCover()
{
if (!m_default_cover.buffer.empty() || !UseGameCovers())
if (!m_default_cover.buffer.empty() || !UseGameCovers() || m_gametdb_id.empty())
return;
const auto cover_path = File::GetUserPath(D_COVERCACHE_IDX) + DIR_SEP;