diff --git a/desmume/src/gfx3d.h b/desmume/src/gfx3d.h index ed3f5e943..1eea3b14c 100644 --- a/desmume/src/gfx3d.h +++ b/desmume/src/gfx3d.h @@ -521,12 +521,13 @@ struct POLYLIST { }; struct VERT { + // Align to 16 for SSE instructions to work union { float coord[4]; struct { float x,y,z,w; }; - }; + } DS_ALIGN(16); union { float texcoord[2]; struct {