summaryrefslogtreecommitdiff
path: root/arm9/lib/include/CTRDG_backup.h
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2021-02-25 15:34:52 +0000
committerred031000 <rubenru09@aol.com>2021-02-25 15:35:09 +0000
commitf9512bc6c7b8c93a4c72b92825db67718863a200 (patch)
treee9359ff1d509a2436794e07c61ce60c88de1aab6 /arm9/lib/include/CTRDG_backup.h
parentab4e396b1dac3f2a3a3379f9aa3de4de16fd26e9 (diff)
partial CTRDG_flash_AT29LV512.o decomp
Diffstat (limited to 'arm9/lib/include/CTRDG_backup.h')
-rw-r--r--arm9/lib/include/CTRDG_backup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arm9/lib/include/CTRDG_backup.h b/arm9/lib/include/CTRDG_backup.h
index d248b7a1..272744ad 100644
--- a/arm9/lib/include/CTRDG_backup.h
+++ b/arm9/lib/include/CTRDG_backup.h
@@ -5,6 +5,10 @@
#include "CTRDG_flash.h"
#include "CTRDG_task.h"
+#define CTRDG_BACKUP_PHASE_PROGRAM 0x0001
+#define CTRDG_BACKUP_PHASE_SECTOR_ERASE 0x0002
+#define CTRDG_BACKUP_PHASE_CHIP_ERASE 0x0003
+
typedef struct CTRDGiFlashTypePlusTag
{
u16 (*CTRDGi_WriteAgbFlashSector)(u16 secNo, u8 *src);