From 36da4d1121d8286badcbb78993b46853d260ccb6 Mon Sep 17 00:00:00 2001 From: Morph <39850852+Morph1984@users.noreply.github.com> Date: Sun, 9 Jan 2022 14:34:46 -0500 Subject: [PATCH] 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. --- src/yuzu/main.cpp | 4 ++-- 1 file 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[]) { QCoreApplication::setApplicationName(QStringLiteral("yuzu")); #ifdef _WIN32 - // Increases the maximum open file limit to 4096 - _setmaxstdio(4096); + // Increases the maximum open file limit to 8192 + _setmaxstdio(8192); #endif #ifdef __APPLE__