Skip to content
Permalink
Browse files

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

  • Loading branch information...
AdmiralCurtiss committed Nov 18, 2018
1 parent f8488f4 commit 2d77096d63d2ad49eca0f98235d386a32d4dc680
Showing with 2 additions and 2 deletions.
  1. +2 −2 Source/Core/Core/HW/GCMemcard/GCMemcard.h
@@ -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

0 comments on commit 2d77096

Please sign in to comment.
You can’t perform that action at this time.