diff options
| author | Djihads80 <mahboubijoujou111@gmail.com> | 2026-10-30 00:05:36 +0100 |
|---|---|---|
| committer | Djihads80 <mahboubijoujou111@gmail.com> | 2026-10-30 00:05:36 +0100 |
| commit | 64d9632703d655dba9e0d147b939e5c1ae5e4681 (patch) | |
| tree | adcedd4855ce78994327b5002a58220a47ce454e /src/yuzu | |
| parent | a14b3b2301a01f68aa833d6b4e8c43d44433f092 (diff) | |
Increased open file limit to prevent loading crashes
Diffstat (limited to 'src/yuzu')
| -rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index e8c93d451f..08a25cad07 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -126,7 +126,7 @@ int main(int argc, char* argv[]) { // Most sane systems should not hit the hard limit here. struct rlimit rl; if (getrlimit(RLIMIT_NOFILE, &rl) == 0) { - rl.rlim_cur = std::min<rlim_t>(8192, rl.rlim_max); + rl.rlim_cur = std::min<rlim_t>(1048576, rl.rlim_max); setrlimit(RLIMIT_NOFILE, &rl); } #endif // _WIN32 |
