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