summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-06-12 00:58:34 -0400
committerGitHub <noreply@github.com>2023-06-12 00:58:34 -0400
commit333f792e10d244b8568d0dbb3abfea242a016698 (patch)
treeb72a7cf23a946ea03cf7df37fee64a71e024114d /src
parent569f8d3b44301e40bcfe3bf42bcae5ae6c45ab02 (diff)
parentb1081329b9c6a39b3de74ba2a825766b45b0a8d4 (diff)
Merge pull request #10718 from liamwhite/buffered-io
qt: use larger buffer for update install
Diffstat (limited to 'src')
-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) {
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()) {
if (install_progress->wasCanceled()) {