summaryrefslogtreecommitdiff
path: root/arm9/lib/include/CTRDG_backup.h
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2021-03-09 12:13:21 +0000
committerred031000 <rubenru09@aol.com>2021-03-09 12:13:21 +0000
commit90f970b74f78ab06162063f1d2b68ee45c7bdf71 (patch)
treed4786da709936f45d2f17251c254a68d20837ddd /arm9/lib/include/CTRDG_backup.h
parentacbce1c8be2370e6617cdc74eb658f3f5cf8e1ed (diff)
finish CTRDG_flash_AT29LV512
Diffstat (limited to 'arm9/lib/include/CTRDG_backup.h')
-rw-r--r--arm9/lib/include/CTRDG_backup.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arm9/lib/include/CTRDG_backup.h b/arm9/lib/include/CTRDG_backup.h
index 272744ad..8b95a7aa 100644
--- a/arm9/lib/include/CTRDG_backup.h
+++ b/arm9/lib/include/CTRDG_backup.h
@@ -8,6 +8,11 @@
#define CTRDG_BACKUP_PHASE_PROGRAM 0x0001
#define CTRDG_BACKUP_PHASE_SECTOR_ERASE 0x0002
#define CTRDG_BACKUP_PHASE_CHIP_ERASE 0x0003
+#define CTRDG_BACKUP_PHASE_PARAMETER_CHECK 0x00ff
+
+#define CTRDG_BACKUP_RESULT_ERROR 0x8000
+
+extern u16 ctrdg_flash_remainder;
typedef struct CTRDGiFlashTypePlusTag
{