mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-22 17:19:18 +01:00
Fix shader preset regex (#536)
This commit is contained in:
parent
523a0e1706
commit
87d2f8ad55
@ -1179,7 +1179,7 @@ std::vector<uint64> GraphicPack2::ParseTitleIds(IniParser& rules, const char* op
|
||||
void GraphicPack2::ApplyShaderPresets(std::string& shader_source) const
|
||||
{
|
||||
const auto active_presets = GetActivePresets();
|
||||
const std::regex regex(R"(\$[a-zA-Z\_0-9]+)");
|
||||
const std::regex regex(R"($[a-zA-Z_0-9]+)");
|
||||
|
||||
std::smatch match;
|
||||
size_t offset = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user