mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-04 21:00:31 +12:00
[FS] Better file flushing
Fixes a small memory leak and some filesystem bugs
This commit is contained in:
parent
9fe770c4e7
commit
0f0a06330c
3 changed files with 11 additions and 0 deletions
|
@ -27,6 +27,7 @@ class IOFile {
|
|||
|
||||
bool seek(std::int64_t offset, int origin = SEEK_SET);
|
||||
bool rewind();
|
||||
bool flush();
|
||||
FILE* getHandle();
|
||||
static void setAppDataDir(const std::filesystem::path& dir);
|
||||
static std::filesystem::path getAppData() { return appData; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue