From 47f7e5b454ac6c26770c0a8b80fac887720215b9 Mon Sep 17 00:00:00 2001 From: degasus Date: Sun, 5 Nov 2017 10:52:37 +0100 Subject: [PATCH] WiiUtils: Be more explicit about packing. --- Source/Core/Core/WiiUtils.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/WiiUtils.cpp b/Source/Core/Core/WiiUtils.cpp index c0c5cbc05a..3fd653ffde 100644 --- a/Source/Core/Core/WiiUtils.cpp +++ b/Source/Core/Core/WiiUtils.cpp @@ -561,7 +561,7 @@ public: UpdateResult DoDiscUpdate(); private: -#pragma pack(push, 8) +#pragma pack(push, 1) struct ManifestHeader { char timestamp[0x10]; // YYYY/MM/DD @@ -581,9 +581,10 @@ private: char path[0x40]; u64 title_id; u16 title_version; + u16 unused1[3]; char name[0x40]; char info[0x40]; - u8 unused[0x120]; + u8 unused2[0x120]; }; static_assert(sizeof(Entry) == 512, "Wrong size"); #pragma pack(pop)