zstd compress text files, since zstd compressed files are now properly marked and accessible
This commit is contained in:
parent
576b08a88d
commit
5d891e0683
|
@ -55,13 +55,12 @@ namespace BizHawk.Client.Common
|
||||||
|
|
||||||
public void PutLump(BinaryStateLump lump, Action<TextWriter> callback)
|
public void PutLump(BinaryStateLump lump, Action<TextWriter> callback)
|
||||||
{
|
{
|
||||||
// don't zstd compress text, as it's annoying for users
|
|
||||||
PutLump(lump, s =>
|
PutLump(lump, s =>
|
||||||
{
|
{
|
||||||
TextWriter tw = new StreamWriter(s);
|
TextWriter tw = new StreamWriter(s);
|
||||||
callback(tw);
|
callback(tw);
|
||||||
tw.Flush();
|
tw.Flush();
|
||||||
}, false);
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
|
|
Loading…
Reference in New Issue