From deba9ce2564485c7fe078d4e73d0d2cba722b1ac Mon Sep 17 00:00:00 2001 From: Minty-Meeo <45425365+Minty-Meeo@users.noreply.github.com> Date: Thu, 24 Feb 2022 04:51:52 -0600 Subject: Added a way to check Block Size, Compression Method, and Compression Level flags to dolphin-tool New dolphin-tool command: "header" -b / --block_size -c / --compression -l / --compression_level Informative RVZ/WIA header2 value "compression_level" is now a s32 instead of a u32, because negative compression is a thing. Speaking of, it is now possible to use negative compression levels in dolphin-tool's convert command (not the GUI, though). --- Source/Core/DiscIO/VolumeFileBlobReader.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/Core/DiscIO/VolumeFileBlobReader.h') diff --git a/Source/Core/DiscIO/VolumeFileBlobReader.h b/Source/Core/DiscIO/VolumeFileBlobReader.h index 0489158577..88b0929cbc 100644 --- a/Source/Core/DiscIO/VolumeFileBlobReader.h +++ b/Source/Core/DiscIO/VolumeFileBlobReader.h @@ -30,6 +30,7 @@ public: u64 GetBlockSize() const override; bool HasFastRandomAccessInBlock() const override; std::string GetCompressionMethod() const override; + std::optional GetCompressionLevel() const override; bool Read(u64 offset, u64 length, u8* out_ptr) override; -- cgit v1.2.3