GameFile: don't download covers for empty game IDs

This commit is contained in:
Tillmann Karras 2021-07-11 17:13:54 +01:00
parent 88fd9fd577
commit bd5c604718

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;