From 2d77096d63d2ad49eca0f98235d386a32d4dc680 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Mon, 19 Nov 2018 00:01:18 +0100 Subject: [PATCH] GCMemcard: Use std::array for Directory's members. --- Source/Core/Core/HW/GCMemcard/GCMemcard.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/GCMemcard/GCMemcard.h b/Source/Core/Core/HW/GCMemcard/GCMemcard.h index 67152a0999..c4ad36abf9 100644 --- a/Source/Core/Core/HW/GCMemcard/GCMemcard.h +++ b/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 m_dir_entries; // 0x0000 Directory Entries (max 127) + std::array 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