summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-06-11 17:43:04 +0200
committerLiam <byteslice@airmail.cc>2023-06-11 17:43:04 +0200
commitb1081329b9c6a39b3de74ba2a825766b45b0a8d4 (patch)
treef04fde68f77ea139af5d4370e2ddfe5bde4ca0b3
parentMerge pull request #10670 from liamwhite/fxaa2 (diff)
downloadyuzu-b1081329b9c6a39b3de74ba2a825766b45b0a8d4.tar
yuzu-b1081329b9c6a39b3de74ba2a825766b45b0a8d4.tar.gz
yuzu-b1081329b9c6a39b3de74ba2a825766b45b0a8d4.tar.bz2
yuzu-b1081329b9c6a39b3de74ba2a825766b45b0a8d4.tar.lz
yuzu-b1081329b9c6a39b3de74ba2a825766b45b0a8d4.tar.xz
yuzu-b1081329b9c6a39b3de74ba2a825766b45b0a8d4.tar.zst
yuzu-b1081329b9c6a39b3de74ba2a825766b45b0a8d4.zip
-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()) {