mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-29 07:23:03 +00:00
yuzu: main: Increase the open file limit on Windows to 8192
This is a temporary solution for now to accommodate for mods containing more than 4096 files.
This commit is contained in:
parent
b3308830b2
commit
36da4d1121
|
@ -3626,8 +3626,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__
|
||||||
|
|
Loading…
Reference in a new issue