diff options
| author | Léo Lam <leo@leolam.fr> | 2022-01-03 01:43:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-03 01:43:02 +0100 |
| commit | 7abb501e0aeca51d62b0d837059bb1d7dae959d0 (patch) | |
| tree | 13f9d8a6a583dc8eed1cb6807fdca101ec5fe831 /Source/Core/UICommon/GameFile.cpp | |
| parent | 0de008da11987384c40a8d00aa583000fdabdb02 (diff) | |
| parent | 29068898046316d79b9ba521360060f8f3175360 (diff) | |
Merge pull request #10334 from AdmiralCurtiss/json-maker
Core: Add a Maker field for GameModDescriptors.
Diffstat (limited to 'Source/Core/UICommon/GameFile.cpp')
| -rw-r--r-- | Source/Core/UICommon/GameFile.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/UICommon/GameFile.cpp b/Source/Core/UICommon/GameFile.cpp index c575d4018b..ee1ca0557f 100644 --- a/Source/Core/UICommon/GameFile.cpp +++ b/Source/Core/UICommon/GameFile.cpp @@ -177,6 +177,8 @@ GameFile::GameFile(std::string path) : m_file_path(std::move(path)) m_valid = true; m_file_size = File::GetSize(m_file_path); m_long_names.emplace(DiscIO::Language::English, std::move(descriptor->display_name)); + if (!descriptor->maker.empty()) + m_long_makers.emplace(DiscIO::Language::English, std::move(descriptor->maker)); m_internal_name = proxy.GetInternalName(); m_game_id = proxy.GetGameID(); m_gametdb_id = proxy.GetGameTDBID(); |
