Changes

Jump to navigation Jump to search
14 bytes added ,  05:40, 9 April 2011
The 3DS employs a wearleveling scheme on the savegame FLASH chips. This is done trough blockmaps. Depending on the size of the flashchip, these are located somewhere at the beginning of the flashchip, in the first sector. The structure is as follows:
<pre>
struct sector_entry {
uint8_t virt_sec; // Mapped to sector
} __attribute__((packed));
struct long_sector_entry{
struct sector_entry sector;
struct sector_entry dupe;
uint32_t magic;
};
</pre>
With magic being a constant 0x080d6ce0.
25

edits

Navigation menu