GameFile: don't download covers for empty game IDs
This commit is contained in:
1 parent
88fd9fd577
commit
bd5c604718
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user