diff options
Diffstat (limited to 'include/SDK/NAND/NANDOpenClose.h')
-rw-r--r-- | include/SDK/NAND/NANDOpenClose.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/SDK/NAND/NANDOpenClose.h b/include/SDK/NAND/NANDOpenClose.h new file mode 100644 index 0000000..2a93acd --- /dev/null +++ b/include/SDK/NAND/NANDOpenClose.h @@ -0,0 +1,19 @@ +#ifndef POKEREVO_NANDOPENCLOSE_H
+#define POKEREVO_NANDOPENCLOSE_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct NANDFileInfo
+{
+ u8 unk0[0x8B]; // TODO: determine actual size
+} NANDFileInfo;
+
+s32 NANDOpen(const char* path, NANDFileInfo* info, u8 accType);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //POKEREVO_NANDOPENCLOSE_H
|