mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 18:50:30 +00:00
WIA: Implement compression
This commit is contained in:
parent
e936c4acd8
commit
e8b019ac29
5 changed files with 708 additions and 91 deletions
|
@ -25,6 +25,8 @@
|
|||
|
||||
namespace DiscIO
|
||||
{
|
||||
enum class WIACompressionType : u32;
|
||||
|
||||
// Increment CACHE_REVISION (GameFileCache.cpp) if the enum below is modified
|
||||
enum class BlobType
|
||||
{
|
||||
|
@ -174,7 +176,8 @@ bool ConvertToPlain(BlobReader* infile, const std::string& infile_path,
|
|||
const std::string& outfile_path, CompressCB callback = nullptr,
|
||||
void* arg = nullptr);
|
||||
bool ConvertToWIA(BlobReader* infile, const std::string& infile_path,
|
||||
const std::string& outfile_path, int chunk_size, CompressCB callback = nullptr,
|
||||
const std::string& outfile_path, WIACompressionType compression_type,
|
||||
int compression_level, int chunk_size, CompressCB callback = nullptr,
|
||||
void* arg = nullptr);
|
||||
|
||||
} // namespace DiscIO
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue