mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-11 08:39:48 +12:00
[IOFIle] Add constructors
This commit is contained in:
parent
b1f2be98fa
commit
902b877c40
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ class IOFile {
|
|||
static inline std::filesystem::path appData = ""; // Directory for holding app data. AppData on Windows
|
||||
|
||||
public:
|
||||
IOFile() {}
|
||||
IOFile(FILE* handle) : handle(handle) {}
|
||||
|
||||
bool isOpen() {
|
||||
return handle != nullptr;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue