Explorar o código

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.
Morph %!s(int64=4) %!d(string=hai) anos
pai
achega
36da4d1121
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/yuzu/main.cpp

+ 2 - 2
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__