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

yuzu: main: Increase the open file limit on Windows to 8192
This commit is contained in:
bunnei 2022-01-13 21:25:06 -08:00 committed by GitHub
commit f1aa7ff893
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 // Increases the maximum open file limit to 8192
_setmaxstdio(4096); _setmaxstdio(8192);
#endif #endif
#ifdef __APPLE__ #ifdef __APPLE__