4lex4nder / ReshadeEffectShaderToggler

Reshade 5+ addin to apply Reshade effects to render targets of shader groups based on a key press. It allows you to configure these groups from within the addin as well.
MIT License
106 stars 10 forks source link

Remove the 512 Byte limit of WriteLn to avoid crash. #54

Closed liuxd17thu closed 7 months ago

liuxd17thu commented 8 months ago

After the changes in #51, it's easier to exceed the 512 byte limit of WriteLn() in CDataFile.cpp causing a crash when saving a toggle group with a bunch of effects selected. Now WriteLn() is rewrote with std::format().

4lex4nder commented 7 months ago

lgtm, thanks! (also sorry, didn't see there was a PR and no notification for whatever reason)