mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #98921 from RandomShaper/win_many_files
Raise the number of file handles on Windows
This commit is contained in:
commit
c2f19e98bc
1 changed files with 3 additions and 0 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue