diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.cpp b/Source/Core/VideoCommon/Src/TextureDecoder.cpp index 252f1843a1..8f3ac0bafd 100644 --- a/Source/Core/VideoCommon/Src/TextureDecoder.cpp +++ b/Source/Core/VideoCommon/Src/TextureDecoder.cpp @@ -21,10 +21,7 @@ #include "CPUDetect.h" #include "TextureDecoder.h" #include "LookUpTables.h" -#include -#ifdef __SSSE3__ -#include -#endif + //Uncomment this to enable Texture Format ID overlays #define OVERLAY_TEXFMT @@ -506,9 +503,6 @@ PC_TexFormat TexDecoder_Decode(u8 *dst, const u8 *src, int width, int height, in if((!TexFmt_Overlay_Enable)||(retval==PC_TEX_FMT_NONE)) return retval; - // assume ABGR/ARGB (32bit) - int *dtp = (int*)dst; - int w = min(width,40); int h = min(height,10); @@ -539,7 +533,35 @@ PC_TexFormat TexDecoder_Decode(u8 *dst, const u8 *src, int width, int height, in { for(int x=0;x