summaryrefslogtreecommitdiff
path: root/include/SDK/NAND
diff options
context:
space:
mode:
authorMax <mparisi@stevens.edu>2020-10-29 14:27:37 -0400
committerMax <mparisi@stevens.edu>2020-10-29 14:27:37 -0400
commit47a1bdea8872c79dd2cd7d75ca7f254b9ed13170 (patch)
treef254bbac3fde59afbc4abe7f07ea763bed53b20c /include/SDK/NAND
parentf13fcff4a5f496e8bc1fa4ff759698d9ac37c478 (diff)
match up to func_801DCFE4, add string.h and stdlib.h, add types.h to Makefile include path, and move GameSpy under DWC
Diffstat (limited to 'include/SDK/NAND')
-rw-r--r--include/SDK/NAND/NANDOpenClose.h19
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