Skip to content
Permalink
Browse files
Merge pull request #9885 from Tilka/datel
GameFile: don't download covers for empty game IDs
  • Loading branch information
Tilka committed Jul 11, 2021
2 parents 88fd9fd + bd5c604 commit f9baff4
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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;

0 comments on commit f9baff4

Please sign in to comment.