Actually use the SSE color conversion code.

This commit is contained in:
Unknown W. Brackets 2015-05-17 13:30:19 -07:00
parent 337d7d8cb9
commit 3f29329ed2

View File

@ -15,9 +15,13 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#include "ColorConv.h"
#include "CommonTypes.h"
#include "Common.h"
#include "CPUDetect.h"
#ifdef _M_SSE
#include <xmmintrin.h>
#endif
inline u16 RGBA8888toRGB565(u32 px) {
return ((px >> 3) & 0x001F) | ((px >> 5) & 0x07E0) | ((px >> 8) & 0xF800);