mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
GUI: Progress Dialog On Save State Creation
This commit is contained in:
parent
707a648a4c
commit
580f9bf03a
6 changed files with 90 additions and 20 deletions
|
|
@ -139,7 +139,8 @@ bool zip(const void* src, usz size, fs::file& out, bool multi_thread_it)
|
|||
return false;
|
||||
}
|
||||
|
||||
utils::serial compressor(!multi_thread_it || size < 0x40'0000);
|
||||
utils::serial compressor;
|
||||
compressor.set_expect_little_data(!multi_thread_it || size < 0x40'0000);
|
||||
compressor.m_file_handler = make_compressed_serialization_file_handler(out);
|
||||
|
||||
std::string_view buffer_view{static_cast<const char*>(src), size};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue