mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 01:28:57 +00:00
Show file format details in game properties
This commit is contained in:
parent
9982251899
commit
d494e0230c
26 changed files with 342 additions and 17 deletions
|
@ -290,6 +290,26 @@ BlobType WIARVZFileReader<RVZ>::GetBlobType() const
|
|||
return RVZ ? BlobType::RVZ : BlobType::WIA;
|
||||
}
|
||||
|
||||
template <bool RVZ>
|
||||
std::string WIARVZFileReader<RVZ>::GetCompressionMethod() const
|
||||
{
|
||||
switch (m_compression_type)
|
||||
{
|
||||
case WIARVZCompressionType::Purge:
|
||||
return "Purge";
|
||||
case WIARVZCompressionType::Bzip2:
|
||||
return "bzip2";
|
||||
case WIARVZCompressionType::LZMA:
|
||||
return "LZMA";
|
||||
case WIARVZCompressionType::LZMA2:
|
||||
return "LZMA2";
|
||||
case WIARVZCompressionType::Zstd:
|
||||
return "Zstandard";
|
||||
default:
|
||||
return {};
|
||||
}
|
||||
}
|
||||
|
||||
template <bool RVZ>
|
||||
bool WIARVZFileReader<RVZ>::Read(u64 offset, u64 size, u8* out_ptr)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue