summaryrefslogtreecommitdiff
path: root/src/yuzu/game_list.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-07-28 12:35:02 -0400
committerZach Hilman <zachhilman@gmail.com>2018-08-06 23:06:33 -0400
commit5927cf0e177d1804bcc0d9f95aa3fe1c4d0f6201 (patch)
tree889f9111aa75d73b620e332b4949cd8c304692b6 /src/yuzu/game_list.cpp
parent9e88f03e7591bd3b91d7af9b9995a727c0b92ac9 (diff)
Use const where applicable
Diffstat (limited to 'src/yuzu/game_list.cpp')
-rw-r--r--src/yuzu/game_list.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp
index 893c5f693..481d91be5 100644
--- a/src/yuzu/game_list.cpp
+++ b/src/yuzu/game_list.cpp
@@ -466,7 +466,7 @@ void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, unsign
FileSys::VirtualFile icon_file = nullptr;
for (const auto& language : FileSys::LANGUAGE_NAMES) {
- icon_file = control_dir->GetFile("icon_" + language + ".dat");
+ icon_file = control_dir->GetFile("icon_" + std::string(language) + ".dat");
if (icon_file != nullptr) {
icon = icon_file->ReadAllBytes();
break;