summaryrefslogtreecommitdiff
path: root/include/flash.h
diff options
context:
space:
mode:
authorsceptillion <33798691+sceptillion@users.noreply.github.com>2017-12-11 19:05:47 -0800
committersceptillion <33798691+sceptillion@users.noreply.github.com>2017-12-11 19:05:47 -0800
commitae6d7f251ec0c6757fa3b41d50f6a58f8f2dd48c (patch)
tree4228d3678b615569197747e638daa7583cf12568 /include/flash.h
parentb297f50310ed36f7298e11e0dc85f1b6fac53b89 (diff)
decompile flash
Diffstat (limited to 'include/flash.h')
-rw-r--r--include/flash.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/flash.h b/include/flash.h
new file mode 100644
index 0000000..586cde7
--- /dev/null
+++ b/include/flash.h
@@ -0,0 +1,9 @@
+#ifndef GUARD_FLASH_H
+#define GUARD_FLASH_H
+
+void InitFlash(void);
+void ClearFlashData(void);
+s32 ReadFlashData(s32 sector, u8 *dest, s32 size);
+s32 WriteFlashData(s32 sector, u8 *src, s32 size);
+
+#endif // GUARD_FLASH_H