mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
qt: use larger buffer for update install
This commit is contained in:
parent
6b898c6d69
commit
b1081329b9
@ -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()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user