summaryrefslogtreecommitdiff
path: root/arm9/source/devices/file.h
diff options
context:
space:
mode:
authorBen Bridle <ben@derelict.engineering>2024-12-16 18:09:46 +1300
committerBen Bridle <ben@derelict.engineering>2024-12-16 18:09:46 +1300
commit9612c307f00c4313d73fe0c3a86c05c8d8cd514e (patch)
treed6a37206f6e8d0ce48c0c311398cf2f7b14dccc8 /arm9/source/devices/file.h
parent3533aced8b3fc4d6c1ec22c35f805ae966d8a7cb (diff)
downloadbedrock-nds-9612c307f00c4313d73fe0c3a86c05c8d8cd514e.zip
Create intermediate parent directories when creating a new fileHEADmain
Diffstat (limited to 'arm9/source/devices/file.h')
-rw-r--r--arm9/source/devices/file.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arm9/source/devices/file.h b/arm9/source/devices/file.h
index efff684..f295e89 100644
--- a/arm9/source/devices/file.h
+++ b/arm9/source/devices/file.h
@@ -35,6 +35,8 @@
void init_filesystem();
bool filesystem_enabled();
+ void create_parents(u8 *path);
+
void fs_push_entry(FileDevice *fs, u8 byte);
void fs_push_action(FileDevice *fs, u8 byte);
bool fs_push_byte(PathBuf *buf, u8 byte);