X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fsprite.h;h=17050e95b5c707c1f1f92c32de3695c47424cb86;hb=b789e37efab3baed9def2c1199d1cc5884e06ab5;hp=78d10b9884fb968b47eca91a0276f3d4c89d9464;hpb=88989dba0a2f0b59d782d25e01227df04452e8d3;p=mdlife diff --git a/src/sprite.h b/src/sprite.h index 78d10b9..17050e9 100644 --- a/src/sprite.h +++ b/src/sprite.h @@ -9,7 +9,7 @@ struct hwsprite { uint8_t next; uint16_t tile; uint16_t x; -} __attribute__((packed)); +} __attribute__((packed, aligned(2))); #define SPR_SIZE(x, y) ((((x) - 1) << 2) | ((y) - 1))