diff --git a/Common/ColorConv.cpp b/Common/ColorConv.cpp index b13ebf18c8..1a2a089325 100644 --- a/Common/ColorConv.cpp +++ b/Common/ColorConv.cpp @@ -25,6 +25,10 @@ #include #endif +#if _M_SSE >= 0x401 +#include +#endif + inline u16 RGBA8888toRGB565(u32 px) { return ((px >> 3) & 0x001F) | ((px >> 5) & 0x07E0) | ((px >> 8) & 0xF800); } diff --git a/GPU/Common/TextureScalerCommon.cpp b/GPU/Common/TextureScalerCommon.cpp index b248bb47d9..c12ae3cce5 100644 --- a/GPU/Common/TextureScalerCommon.cpp +++ b/GPU/Common/TextureScalerCommon.cpp @@ -35,8 +35,8 @@ #include "Common/CPUDetect.h" #include "ext/xbrz/xbrz.h" -#if _M_SSE >= 0x402 -#include +#if _M_SSE >= 0x401 +#include #endif // Report the time and throughput for each larger scaling operation in the log