[IPU] Fix a gcc failure with c+0x standard

Note: What I understand some define use the minus symbol and so gcc does a sign extension on 32bits.
    Not compatible with u16...

To fix it I kept only the first 16bits. We could also redefine the constant without the minus


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3487 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gregory.hainaut 2010-07-14 13:22:03 +00:00
parent 240349ea47
commit a18c72489b
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ void yuv2rgb_reference(void)
// Know the specification before you touch it.
#define SSE_BYTES(x) {x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x}
#define SSE_WORDS(x) {x, x, x, x, x, x, x, x}
#define SSE_COEFFICIENTS(x) SSE_WORDS((x)<<2)
#define SSE_COEFFICIENTS(x) SSE_WORDS(((x)<<2) && 0xFFFF)
struct SSE2_Tables
{