From 65e58e271e9ff9590c1eb3814a9e449e3c9d607a Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 2 Apr 2009 15:21:20 +0200 Subject: Use packed attribute for structs --- wii_imet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wii_imet.h') diff --git a/wii_imet.h b/wii_imet.h index ba2d76a..0dfb5c3 100644 --- a/wii_imet.h +++ b/wii_imet.h @@ -31,7 +31,7 @@ typedef struct { u32 ukn_size3; u32 ukn_flags; u16 name[IMET_NAME_COUNT][IMET_NAME_SIZE]; -} wii_imet; +} ATTRIBUTE_PACKED wii_imet; typedef struct { char dirname[0x20]; @@ -39,6 +39,6 @@ typedef struct { u16 unk_flag0; u16 unk_flag1; char host[0x10]; -} wii_build_info; +} ATTRIBUTE_PACKED wii_build_info; #endif -- cgit v1.1-32-gdbae