Skip to content

Commit 6f985c3

Browse files
authored
Fix black screen when graphics packs are used (#541)
1 parent 87d2f8a commit 6f985c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cafe/GraphicPack/GraphicPack2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1179,7 +1179,7 @@ std::vector<uint64> GraphicPack2::ParseTitleIds(IniParser& rules, const char* op
11791179
void GraphicPack2::ApplyShaderPresets(std::string& shader_source) const
11801180
{
11811181
const auto active_presets = GetActivePresets();
1182-
const std::regex regex(R"($[a-zA-Z_0-9]+)");
1182+
const std::regex regex(R"(\$[a-zA-Z_0-9]+)");
11831183

11841184
std::smatch match;
11851185
size_t offset = 0;

0 commit comments

Comments
 (0)