Fix black screen when graphics packs are used (#541)

This commit is contained in:
Tillsunset 2022-11-29 03:54:11 -06:00 committed by GitHub
parent 87d2f8ad55
commit 6f985c3c78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;