public BinaryStateSaver(string path, bool notamovie = true) // notamovie is hack, really should have separate something { _zip = new FrameworkZipWriter(path, notamovie ? Global.Config.SaveStateCompressionLevelNormal : Global.Config.MovieCompressionLevel); if (notamovie) { PutLump(BinaryStateLump.Versiontag, WriteVersion); PutLump(BinaryStateLump.BizVersion, WriteEmuVersion); } }
public BinaryStateSaver(string path, bool notamovie = true) // notamovie is hack, really should have separate something { _zip = new IonicZipWriter(path, notamovie ? Global.Config.SaveStateCompressionLevelNormal : Global.Config.MovieCompressionLevel); ////_zip = new SharpZipWriter(path, Global.Config.SaveStateCompressionLevelNormal); ////_zip = new SevenZipWriter(path, Global.Config.SaveStateCompressionLevelNormal); if (notamovie) { PutLump(BinaryStateLump.Versiontag, WriteVersion); } }
public BinaryStateSaver(string path, bool stateVersionTag = true) // stateVersionTag is a hack for reusing this for movie code { _zip = new IonicZipWriter(path, Global.Config.SaveStateCompressionLevelNormal); //_zip = new SharpZipWriter(path, Global.Config.SaveStateCompressionLevelNormal); //_zip = new SevenZipWriter(path, Global.Config.SaveStateCompressionLevelNormal); if (stateVersionTag) { PutLump(BinaryStateLump.Versiontag, WriteVersion); } }
public BinaryStateSaver(string path, bool notamovie = true) // notamovie is hack, really should have separate something { _zip = new IonicZipWriter(path, notamovie ? Global.Config.SaveStateCompressionLevelNormal : Global.Config.MovieCompressionLevel); //_zip = new SharpZipWriter(path, Global.Config.SaveStateCompressionLevelNormal); //_zip = new SevenZipWriter(path, Global.Config.SaveStateCompressionLevelNormal); if (notamovie) { PutLump(BinaryStateLump.Versiontag, WriteVersion); } }
public ZipStateSaver(string path, int compressionLevel) { _zip = new FrameworkZipWriter(path, compressionLevel); }