aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-01-09 14:34:46 -0500
committerMorph <39850852+Morph1984@users.noreply.github.com>2022-01-09 21:33:58 -0500
commit36da4d1121d8286badcbb78993b46853d260ccb6 (patch)
treef1247d6f4ab6d7afd231b738704b002afe4cd2c3
parentb3308830b217cbdd9638b11e8660d079e16b3f01 (diff)
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.
-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 53f11a9ac6..18d1613208 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__