* select

* select for windows

* fixed windows only function

* windows error converts

* fixed up

* fixed compile

* another implementation for windows

* draft rewrite for windows

* implementation for windows

* added some debugging info

* more debugging

* extensive log

* Windows: Add device files to output fd_sets

Cyberpunk 2077 breaks without this.
Also added some formatting changes, to bring the implementation closer to our typical coding standards.

* Clang

* Formatting + cleanup

Removed some excessive logging used for debugging, and did some cleanup on the non-Windows implementation.

---------

Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
Co-authored-by: Stephen Miller <millerste004@gmail.com>
This commit is contained in:
Marcin Mikołajczyk
2025-08-07 23:20:49 +02:00
committed by GitHub
parent f9ab6c48e3
commit befc5ec17b
3 changed files with 307 additions and 1 deletions

View File

@@ -213,13 +213,13 @@ public:
IOFile out(path, FileAccessMode::Write);
return out.Write(data);
}
std::FILE* file = nullptr;
private:
std::filesystem::path file_path;
FileAccessMode file_access_mode{};
FileType file_type{};
std::FILE* file = nullptr;
uintptr_t file_mapping = 0;
};