mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-12 09:14:52 +00:00
RiivolutionParser: Fix XML Param Parsing
This commit is contained in:
parent
6711d77b99
commit
b4a67351c0
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user