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_tmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wii_tmd.h') diff --git a/wii_tmd.h b/wii_tmd.h index 4bd77af..498b96d 100644 --- a/wii_tmd.h +++ b/wii_tmd.h @@ -46,7 +46,7 @@ typedef struct { u16 num_contents; u16 boot_index; u16 fill6; -} tmd_header; +} ATTRIBUTE_PACKED tmd_header; void dump_tmd_raw(u8 *tmd); void print_tmd(tmd_header *tmd); -- cgit v1.1-32-gdbae