diff options
| author | 2022-01-13 21:25:06 -0800 | |
|---|---|---|
| committer | 2022-01-13 21:25:06 -0800 | |
| commit | f1aa7ff893208b4c5c328d1a77c4028ecba94bf4 (patch) | |
| tree | f3c6e5acaa7bde9be582357120a72f711b08619c | |
| parent | Merge pull request #7700 from german77/no-gyro (diff) | |
| parent | yuzu: main: Increase the open file limit on Windows to 8192 (diff) | |
| download | yuzu-f1aa7ff893208b4c5c328d1a77c4028ecba94bf4.tar.gz yuzu-f1aa7ff893208b4c5c328d1a77c4028ecba94bf4.tar.xz yuzu-f1aa7ff893208b4c5c328d1a77c4028ecba94bf4.zip | |
Merge pull request #7690 from Morph1984/increase-file-limit-win
yuzu: main: Increase the open file limit on Windows to 8192
Diffstat (limited to '')
| -rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index e8a4ac918..e10eb70a2 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -3678,8 +3678,8 @@ int main(int argc, char* argv[]) { | |||
| 3678 | QCoreApplication::setApplicationName(QStringLiteral("yuzu")); | 3678 | QCoreApplication::setApplicationName(QStringLiteral("yuzu")); |
| 3679 | 3679 | ||
| 3680 | #ifdef _WIN32 | 3680 | #ifdef _WIN32 |
| 3681 | // Increases the maximum open file limit to 4096 | 3681 | // Increases the maximum open file limit to 8192 |
| 3682 | _setmaxstdio(4096); | 3682 | _setmaxstdio(8192); |
| 3683 | #endif | 3683 | #endif |
| 3684 | 3684 | ||
| 3685 | #ifdef __APPLE__ | 3685 | #ifdef __APPLE__ |