mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
GCMemcard: Use std::array for Directory's members.
This commit is contained in:
parent
f8488f4561
commit
2d77096d63
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue