diff --git a/desmume/src/gfx3d.cpp b/desmume/src/gfx3d.cpp index 7e308c7d2..20c436c8e 100644 --- a/desmume/src/gfx3d.cpp +++ b/desmume/src/gfx3d.cpp @@ -1478,7 +1478,6 @@ static BOOL gfx3d_glBoxTest(u32 v) //yuck.. cant use the sse2 accelerated ones because vert.coords is not cache aligned or something //i dunno - void _NOSSE_MatrixMultVec4x4 (const float *matrix, float *vecPtr); _NOSSE_MatrixMultVec4x4(mtxCurrent[1],verts[i].coord); _NOSSE_MatrixMultVec4x4(mtxCurrent[0],verts[i].coord); } diff --git a/desmume/src/matrix.h b/desmume/src/matrix.h index 695606c64..b6a75979b 100644 --- a/desmume/src/matrix.h +++ b/desmume/src/matrix.h @@ -147,6 +147,9 @@ static FORCEINLINE void memset_u16_le(void* dst, u16 val) #endif +// NOSSE version always used in gfx3d.cpp +void _NOSSE_MatrixMultVec4x4 (const float *matrix, float *vecPtr); + //--------------------------- //switched SSE functions #ifdef ENABLE_SSE