GCMemcard: Use std::array for Directory's members.
This commit is contained in:
parent
f8488f4561
commit
2d77096d63
|
@ -230,8 +230,8 @@ static_assert(sizeof(DEntry) == DENTRY_SIZE);
|
||||||
|
|
||||||
struct Directory
|
struct Directory
|
||||||
{
|
{
|
||||||
DEntry m_dir_entries[DIRLEN]; // 0x0000 Directory Entries (max 127)
|
std::array<DEntry, DIRLEN> m_dir_entries; // 0x0000 Directory Entries (max 127)
|
||||||
u8 m_padding[0x3a];
|
std::array<u8, 0x3a> m_padding;
|
||||||
u16 m_update_counter; // 0x1ffa 2 Update Counter
|
u16 m_update_counter; // 0x1ffa 2 Update Counter
|
||||||
u16 m_checksum; // 0x1ffc 2 Additive Checksum
|
u16 m_checksum; // 0x1ffc 2 Additive Checksum
|
||||||
u16 m_checksum_inv; // 0x1ffe 2 Inverse Checksum
|
u16 m_checksum_inv; // 0x1ffe 2 Inverse Checksum
|
||||||
|
|
Loading…
Reference in New Issue