diff options
author | Max Horn | 2007-07-01 18:18:43 +0000 |
---|---|---|
committer | Max Horn | 2007-07-01 18:18:43 +0000 |
commit | e1bcd70436656ed48933aadca38636f70348c842 (patch) | |
tree | fe324a6c31f5c368277c3b9e9fd42e0440f8dc7f /sound | |
parent | f7041f94ce0a28ed21b918d1fb05ba66f131ea6d (diff) | |
download | scummvm-rg350-e1bcd70436656ed48933aadca38636f70348c842.tar.gz scummvm-rg350-e1bcd70436656ed48933aadca38636f70348c842.tar.bz2 scummvm-rg350-e1bcd70436656ed48933aadca38636f70348c842.zip |
Re-added __attribute__(packed)
svn-id: r27830
Diffstat (limited to 'sound')
-rw-r--r-- | sound/mods/module.h | 2 | ||||
-rw-r--r-- | sound/voc.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sound/mods/module.h b/sound/mods/module.h index b25fe87b41..041eebc269 100644 --- a/sound/mods/module.h +++ b/sound/mods/module.h @@ -37,7 +37,7 @@ struct note_t { byte note; uint16 period; uint16 effect; -}; +} PACKED_STRUCT; #include "common/pack-end.h" // END STRUCT PACKING diff --git a/sound/voc.h b/sound/voc.h index ebd343f05d..fd19a29c5a 100644 --- a/sound/voc.h +++ b/sound/voc.h @@ -43,14 +43,14 @@ struct VocFileHeader { uint16 datablock_offset; uint16 version; uint16 id; -}; +} PACKED_STRUCT; struct VocBlockHeader { uint8 blocktype; uint8 size[3]; uint8 sr; uint8 pack; -}; +} PACKED_STRUCT; #include "common/pack-end.h" // END STRUCT PACKING |