diff options
Diffstat (limited to 'src/core/file_sys')
| -rw-r--r-- | src/core/file_sys/patch_manager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp index ceb462ec4..57b7741f8 100644 --- a/src/core/file_sys/patch_manager.cpp +++ b/src/core/file_sys/patch_manager.cpp | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <algorithm> | ||
| 5 | #include <array> | 6 | #include <array> |
| 6 | #include <cstddef> | 7 | #include <cstddef> |
| 7 | 8 | ||
| @@ -185,7 +186,7 @@ std::map<PatchType, std::string> PatchManager::GetPatchVersionNames() const { | |||
| 185 | 186 | ||
| 186 | list += fmt::format("{}", dlc_match.back().title_id & 0x7FF); | 187 | list += fmt::format("{}", dlc_match.back().title_id & 0x7FF); |
| 187 | 188 | ||
| 188 | out[PatchType::DLC] = list; | 189 | out.insert_or_assign(PatchType::DLC, std::move(list)); |
| 189 | } | 190 | } |
| 190 | 191 | ||
| 191 | return out; | 192 | return out; |