From 1fc2021e29935b1b4930203ba7ec1a2b0380d9cb Mon Sep 17 00:00:00 2001 From: red031000 Date: Thu, 14 Jan 2021 21:28:45 +0000 Subject: decompile CTRDG_backup --- arm9/lib/include/CTRDG_flash.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 arm9/lib/include/CTRDG_flash.h (limited to 'arm9/lib/include/CTRDG_flash.h') diff --git a/arm9/lib/include/CTRDG_flash.h b/arm9/lib/include/CTRDG_flash.h new file mode 100644 index 00000000..9a4aff41 --- /dev/null +++ b/arm9/lib/include/CTRDG_flash.h @@ -0,0 +1,25 @@ +#ifndef POKEDIAMOND_CTRDG_FLASH_H +#define POKEDIAMOND_CTRDG_FLASH_H + +#include "nitro/types.h" +#include "MI_exMemory.h" + +typedef struct CTRDGiFlashSectorTag +{ + u32 size; + u16 shift; + u16 count; + u16 top; + u8 reserved[2]; +} CTRDGiFlashSector; + +typedef struct CTRDGFlashTypeTag +{ + u32 romSize; + CTRDGiFlashSector sector; + MICartridgeRamCycle agbWait[2]; + u16 makerID; + u16 deviceID; +} CTRDGFlashType; + +#endif //POKEDIAMOND_CTRDG_FLASH_H -- cgit v1.2.3