Binary savestates now way more awesomer and point-having
This commit is contained in:
parent
3153587eb3
commit
f5aca0b5e8
|
@ -222,7 +222,7 @@ namespace BizHawk.Client.Common
|
||||||
IsStreamOwner = false,
|
IsStreamOwner = false,
|
||||||
UseZip64 = UseZip64.Off
|
UseZip64 = UseZip64.Off
|
||||||
};
|
};
|
||||||
_zip.SetLevel(0);
|
_zip.SetLevel(5);
|
||||||
|
|
||||||
PutLump(BinaryStateLump.Versiontag, WriteVersion);
|
PutLump(BinaryStateLump.Versiontag, WriteVersion);
|
||||||
}
|
}
|
||||||
|
@ -230,7 +230,7 @@ namespace BizHawk.Client.Common
|
||||||
public void PutLump(BinaryStateLump lump, Action<Stream> callback)
|
public void PutLump(BinaryStateLump lump, Action<Stream> callback)
|
||||||
{
|
{
|
||||||
var name = BinaryStateFileNames.Get(lump);
|
var name = BinaryStateFileNames.Get(lump);
|
||||||
var e = new ZipEntry(name) {CompressionMethod = CompressionMethod.Stored};
|
var e = new ZipEntry(name) {CompressionMethod = CompressionMethod.Deflated};
|
||||||
_zip.PutNextEntry(e);
|
_zip.PutNextEntry(e);
|
||||||
callback(_zip);
|
callback(_zip);
|
||||||
_zip.CloseEntry();
|
_zip.CloseEntry();
|
||||||
|
|
Loading…
Reference in New Issue