GameList: Fix broken cover-by-file-title detection
This commit is contained in:
parent
a2a4b66cb7
commit
c4891af00e
|
@ -1046,7 +1046,7 @@ std::string GameList::GetCoverImagePathForEntry(const GameListEntry* entry) cons
|
||||||
cover_path.AppendCharacter(FS_OSPATH_SEPARATOR_CHARACTER);
|
cover_path.AppendCharacter(FS_OSPATH_SEPARATOR_CHARACTER);
|
||||||
cover_path.AppendString("covers");
|
cover_path.AppendString("covers");
|
||||||
cover_path.AppendCharacter(FS_OSPATH_SEPARATOR_CHARACTER);
|
cover_path.AppendCharacter(FS_OSPATH_SEPARATOR_CHARACTER);
|
||||||
cover_path.AppendString(file_title.data());
|
cover_path.AppendString(file_title);
|
||||||
cover_path.AppendCharacter('.');
|
cover_path.AppendCharacter('.');
|
||||||
cover_path.AppendString(extension);
|
cover_path.AppendString(extension);
|
||||||
if (FileSystem::FileExists(cover_path))
|
if (FileSystem::FileExists(cover_path))
|
||||||
|
|
Loading…
Reference in New Issue