GCMemcard: Use std::array for Directory's members.

This commit is contained in:
Admiral H. Curtiss 2018-11-19 00:01:18 +01:00
parent f8488f4561
commit 2d77096d63

View File

@ -230,8 +230,8 @@ static_assert(sizeof(DEntry) == DENTRY_SIZE);
struct Directory
{
DEntry m_dir_entries[DIRLEN]; // 0x0000 Directory Entries (max 127)
u8 m_padding[0x3a];
std::array<DEntry, DIRLEN> m_dir_entries; // 0x0000 Directory Entries (max 127)
std::array<u8, 0x3a> m_padding;
u16 m_update_counter; // 0x1ffa 2 Update Counter
u16 m_checksum; // 0x1ffc 2 Additive Checksum
u16 m_checksum_inv; // 0x1ffe 2 Inverse Checksum