diff options
author | Revo <projectrevotpp@hotmail.com> | 2021-03-09 10:54:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 10:54:26 -0500 |
commit | d032e35566418f0706c892d7227fe7e5dc8f7f58 (patch) | |
tree | 32f4514efda3ef5dc46ce2e3137e2815c9e61627 /arm9/lib/include/CTRDG_backup.h | |
parent | acbce1c8be2370e6617cdc74eb658f3f5cf8e1ed (diff) | |
parent | bf279cbcd3d541426fd9c82dafeafaf5f479d285 (diff) |
Merge pull request #326 from red031000/master
finish CTRDG_flash_AT29LV512
Diffstat (limited to 'arm9/lib/include/CTRDG_backup.h')
-rw-r--r-- | arm9/lib/include/CTRDG_backup.h | 5 |
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 { |