Merge pull request #9885 from Tilka/datel
GameFile: don't download covers for empty game IDs
This commit is contained in:
commit
f9baff46a6
|
@ -207,7 +207,7 @@ bool GameFile::CustomCoverChanged()
|
||||||
|
|
||||||
void GameFile::DownloadDefaultCover()
|
void GameFile::DownloadDefaultCover()
|
||||||
{
|
{
|
||||||
if (!m_default_cover.buffer.empty() || !UseGameCovers())
|
if (!m_default_cover.buffer.empty() || !UseGameCovers() || m_gametdb_id.empty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
const auto cover_path = File::GetUserPath(D_COVERCACHE_IDX) + DIR_SEP;
|
const auto cover_path = File::GetUserPath(D_COVERCACHE_IDX) + DIR_SEP;
|
||||||
|
|
Loading…
Reference in New Issue