Add simple zstd compression

Just a simple default compression is able to shrink savestate file size from ~160MB to ~20MB.
This commit is contained in:
zhupengfei 2020-02-16 23:25:30 +08:00
parent 57efc41973
commit 7d880f94db
No known key found for this signature in database
GPG key ID: DD129E108BD09378
2 changed files with 24 additions and 7 deletions

View file

@ -278,7 +278,7 @@ public:
void Save(std::ostream& stream) const;
void Load(std::istream& stream);
void Load(std::istream& stream, std::size_t size);
private:
/**