Bläddra i källkod

Merge pull request #7690 from Morph1984/increase-file-limit-win

yuzu: main: Increase the open file limit on Windows to 8192
bunnei 4 år sedan
förälder
incheckning
f1aa7ff893
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      src/yuzu/main.cpp

+ 2 - 2
src/yuzu/main.cpp

@@ -3678,8 +3678,8 @@ int main(int argc, char* argv[]) {
     QCoreApplication::setApplicationName(QStringLiteral("yuzu"));
     QCoreApplication::setApplicationName(QStringLiteral("yuzu"));
 
 
 #ifdef _WIN32
 #ifdef _WIN32
-    // Increases the maximum open file limit to 4096
-    _setmaxstdio(4096);
+    // Increases the maximum open file limit to 8192
+    _setmaxstdio(8192);
 #endif
 #endif
 
 
 #ifdef __APPLE__
 #ifdef __APPLE__