diff --git a/hash/msx1_cart.xml b/hash/msx1_cart.xml index 329089d3847..18cd7b64b44 100644 --- a/hash/msx1_cart.xml +++ b/hash/msx1_cart.xml @@ -6133,8 +6133,9 @@ kept for now until finding out what those bytes affect... - + + @@ -9230,6 +9231,7 @@ kept for now until finding out what those bytes affect... Pac-Man (Kor) 198? Clover + @@ -16225,27 +16227,29 @@ legacy FM implementations cannot find it. - - + + BIOMAN4 19?? <unknown> + - + - - + + > Super Bros. World 1 19?? Clover + - + diff --git a/src/emu/cpu/rsp/rspcp2.h b/src/emu/cpu/rsp/rspcp2.h index c5e01218def..25ed0013e2a 100644 --- a/src/emu/cpu/rsp/rspcp2.h +++ b/src/emu/cpu/rsp/rspcp2.h @@ -32,6 +32,13 @@ #endif #if USE_SIMD + +#ifdef _MSC_VER +#define __align16 __declspec(align(16)) +#else +#define __align16 __attribute__((aligned(16))) +#endif + #if (defined(__SSE4_2__) || defined(_MSC_VER)) #include #elif (defined(__SSE4_1__) || defined(_MSC_VER)) @@ -181,7 +188,7 @@ protected: UINT32 m_vres[8]; /* used for temporary vector results */ #if USE_SIMD - __declspec(align(16)) VECTOR_REG m_v[32]; + __align16 VECTOR_REG m_v[32]; #else VECTOR_REG m_v[32]; #endif @@ -232,9 +239,9 @@ protected: UINT16 s[24]; }; - __declspec(align(16)) aligned_rsp_1vect_t m_vdqm; - __declspec(align(16)) aligned_rsp_2vect_t m_flags[3]; - __declspec(align(16)) aligned_rsp_3vect_t m_acc; + __align16 aligned_rsp_1vect_t m_vdqm; + __align16 aligned_rsp_2vect_t m_flags[3]; + __align16 aligned_rsp_3vect_t m_acc; UINT32 m_dp_flag; typedef struct