summaryrefslogtreecommitdiffstats
path: root/wii_tmd.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-04-02 15:21:20 +0200
committerGravatar Martin Szulecki2009-04-02 15:21:20 +0200
commit65e58e271e9ff9590c1eb3814a9e449e3c9d607a (patch)
tree2b1db89affda5faa523291a18a376a46b14899c3 /wii_tmd.h
parent9c1ded3b0ae8e540177ee0c0baa1f9c8fcf91989 (diff)
downloadwiiwadtools-65e58e271e9ff9590c1eb3814a9e449e3c9d607a.tar.gz
wiiwadtools-65e58e271e9ff9590c1eb3814a9e449e3c9d607a.tar.bz2
Use packed attribute for structs
Diffstat (limited to 'wii_tmd.h')
-rw-r--r--wii_tmd.h2
1 files changed, 1 insertions, 1 deletions
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);