summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Liam2023-06-11 11:43:04 -0400
committerGravatar Liam2023-06-11 11:43:04 -0400
commitb1081329b9c6a39b3de74ba2a825766b45b0a8d4 (patch)
treef04fde68f77ea139af5d4370e2ddfe5bde4ca0b3
parentMerge pull request #10670 from liamwhite/fxaa2 (diff)
downloadyuzu-b1081329b9c6a39b3de74ba2a825766b45b0a8d4.tar.gz
yuzu-b1081329b9c6a39b3de74ba2a825766b45b0a8d4.tar.xz
yuzu-b1081329b9c6a39b3de74ba2a825766b45b0a8d4.zip
qt: use larger buffer for update install
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 9d06b21b6..013715b44 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -3067,7 +3067,7 @@ InstallResult GMainWindow::InstallNSPXCI(const QString& filename) {
3067 return false; 3067 return false;
3068 } 3068 }
3069 3069
3070 std::array<u8, 0x1000> buffer{}; 3070 std::vector<u8> buffer(1_MiB);
3071 3071
3072 for (std::size_t i = 0; i < src->GetSize(); i += buffer.size()) { 3072 for (std::size_t i = 0; i < src->GetSize(); i += buffer.size()) {
3073 if (install_progress->wasCanceled()) { 3073 if (install_progress->wasCanceled()) {