mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-29 12:34:17 +01:00
Fix black screen when graphics packs are used (#541)
This commit is contained in:
parent
87d2f8ad55
commit
6f985c3c78
@ -1179,7 +1179,7 @@ std::vector<uint64> GraphicPack2::ParseTitleIds(IniParser& rules, const char* op
|
|||||||
void GraphicPack2::ApplyShaderPresets(std::string& shader_source) const
|
void GraphicPack2::ApplyShaderPresets(std::string& shader_source) const
|
||||||
{
|
{
|
||||||
const auto active_presets = GetActivePresets();
|
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;
|
std::smatch match;
|
||||||
size_t offset = 0;
|
size_t offset = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user