1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Raise the amount of file handles on Windows

This commit is contained in:
Pedro J. Estébanez
2024-11-07 12:13:08 +01:00
parent 1bffd6c73b
commit a5f86ee07e

View File

@@ -525,6 +525,9 @@ void FileAccessWindows::initialize() {
invalid_files.insert(reserved_files[reserved_file_index]);
reserved_file_index++;
}
_setmaxstdio(8192);
print_verbose(vformat("Maximum number of file handles: %d", _getmaxstdio()));
}
void FileAccessWindows::finalize() {