diff options
| author | Gabriela Orzechowska <gabriela.orzechowska.2889@gmail.com> | 2026-02-01 19:33:35 +0100 |
|---|---|---|
| committer | Gabriela Orzechowska <gabriela.orzechowska.2889@gmail.com> | 2026-02-06 18:06:27 +0100 |
| commit | b4a67351c0ef5ad60ac27fe91698fea46a2c82e1 (patch) | |
| tree | 30f4946db99f970ce15b2a3fca48f4d657805610 /Source/Core/DiscIO/RiivolutionParser.cpp | |
| parent | 6711d77b9901ed0a4418203db49ed4d8576e6fe0 (diff) | |
RiivolutionParser: Fix XML Param Parsing
Diffstat (limited to 'Source/Core/DiscIO/RiivolutionParser.cpp')
| -rw-r--r-- | Source/Core/DiscIO/RiivolutionParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/RiivolutionParser.cpp b/Source/Core/DiscIO/RiivolutionParser.cpp index 754419f33f..c76274927a 100644 --- a/Source/Core/DiscIO/RiivolutionParser.cpp +++ b/Source/Core/DiscIO/RiivolutionParser.cpp @@ -313,7 +313,7 @@ std::vector<Patch> Disc::GeneratePatches(const std::string& game_id) const replacements.emplace_back(std::pair{"{$__region}", game_region}); replacements.emplace_back(std::pair{"{$__maker}", game_developer}); for (const auto& param : patch_ref.m_params) - replacements.emplace_back(std::pair{"{$" + param.first + "}", param.second}); + replacements.emplace_back("{$" + param.first + "}", param.second); Patch& new_patch = active_patches.emplace_back(*patch); new_patch.m_root = replace_variables(new_patch.m_root, replacements); |
