summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Morph2022-01-09 14:34:46 -0500
committerGravatar Morph2022-01-09 21:33:58 -0500
commit36da4d1121d8286badcbb78993b46853d260ccb6 (patch)
treef1247d6f4ab6d7afd231b738704b002afe4cd2c3 /src
parentMerge pull request #7683 from liushuyu/fmt-8.1 (diff)
downloadyuzu-36da4d1121d8286badcbb78993b46853d260ccb6.tar.gz
yuzu-36da4d1121d8286badcbb78993b46853d260ccb6.tar.xz
yuzu-36da4d1121d8286badcbb78993b46853d260ccb6.zip
yuzu: main: Increase the open file limit on Windows to 8192
This is a temporary solution for now to accommodate for mods containing more than 4096 files.
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 53f11a9ac..18d161320 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -3626,8 +3626,8 @@ int main(int argc, char* argv[]) {
3626 QCoreApplication::setApplicationName(QStringLiteral("yuzu")); 3626 QCoreApplication::setApplicationName(QStringLiteral("yuzu"));
3627 3627
3628#ifdef _WIN32 3628#ifdef _WIN32
3629 // Increases the maximum open file limit to 4096 3629 // Increases the maximum open file limit to 8192
3630 _setmaxstdio(4096); 3630 _setmaxstdio(8192);
3631#endif 3631#endif
3632 3632
3633#ifdef __APPLE__ 3633#ifdef __APPLE__