zstd compress text files, since zstd compressed files are now properly marked and accessible

This commit is contained in:
SuuperW 2025-06-20 03:21:10 -05:00
parent 576b08a88d
commit 5d891e0683
1 changed files with 1 additions and 2 deletions

View File

@ -55,13 +55,12 @@ namespace BizHawk.Client.Common
public void PutLump(BinaryStateLump lump, Action<TextWriter> callback)
{
// don't zstd compress text, as it's annoying for users
PutLump(lump, s =>
{
TextWriter tw = new StreamWriter(s);
callback(tw);
tw.Flush();
}, false);
});
}
public void Dispose()