mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-07 19:41:38 +12:00
IOFile: Allow multiple opens on the same object
This commit is contained in:
parent
6588f6764f
commit
b7ce987487
2 changed files with 8 additions and 2 deletions
|
@ -8,7 +8,7 @@ class IOFile {
|
|||
static inline std::filesystem::path appData = ""; // Directory for holding app data. AppData on Windows
|
||||
|
||||
public:
|
||||
IOFile() {}
|
||||
IOFile() : handle(nullptr) {}
|
||||
IOFile(FILE* handle) : handle(handle) {}
|
||||
IOFile(const std::filesystem::path& path, const char* permissions = "rb");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue