From c4891af00ea292cec16565f38cb59c1243c50e7e Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sun, 18 Apr 2021 19:00:27 +1000 Subject: [PATCH] GameList: Fix broken cover-by-file-title detection --- src/frontend-common/game_list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend-common/game_list.cpp b/src/frontend-common/game_list.cpp index 800f4a671..89da363a1 100644 --- a/src/frontend-common/game_list.cpp +++ b/src/frontend-common/game_list.cpp @@ -1046,7 +1046,7 @@ std::string GameList::GetCoverImagePathForEntry(const GameListEntry* entry) cons cover_path.AppendCharacter(FS_OSPATH_SEPARATOR_CHARACTER); cover_path.AppendString("covers"); cover_path.AppendCharacter(FS_OSPATH_SEPARATOR_CHARACTER); - cover_path.AppendString(file_title.data()); + cover_path.AppendString(file_title); cover_path.AppendCharacter('.'); cover_path.AppendString(extension); if (FileSystem::FileExists(cover_path))