From 6f985c3c78e31e0f50dfd95f0c8186dbde90abeb Mon Sep 17 00:00:00 2001 From: Tillsunset <35825944+Tillsunset@users.noreply.github.com> Date: Tue, 29 Nov 2022 03:54:11 -0600 Subject: [PATCH] Fix black screen when graphics packs are used (#541) --- src/Cafe/GraphicPack/GraphicPack2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cafe/GraphicPack/GraphicPack2.cpp b/src/Cafe/GraphicPack/GraphicPack2.cpp index ada66bb1..0aa9e785 100644 --- a/src/Cafe/GraphicPack/GraphicPack2.cpp +++ b/src/Cafe/GraphicPack/GraphicPack2.cpp @@ -1179,7 +1179,7 @@ std::vector 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;