yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Merge pull request #10718 from liamwhite/buffered-io

qt: use larger buffer for update install
This commit is contained in:
Morph 2023-06-12 00:58:34 -04:00 committed by GitHub
commit 333f792e10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -3067,7 +3067,7 @@ InstallResult GMainWindow::InstallNSPXCI(const QString& filename) {
return false; return false;
} }
std::array<u8, 0x1000> buffer{}; std::vector<u8> buffer(1_MiB);
for (std::size_t i = 0; i < src->GetSize(); i += buffer.size()) { for (std::size_t i = 0; i < src->GetSize(); i += buffer.size()) {
if (install_progress->wasCanceled()) { if (install_progress->wasCanceled()) {