Browse Source
Merge pull request #7690 from Morph1984/increase-file-limit-win
yuzu: main: Increase the open file limit on Windows to 8192
pull/15/merge
bunnei
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/yuzu/main.cpp
|
|
|
@ -3678,8 +3678,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__
|
|
|
|
|