mirror of https://github.com/PCSX2/pcsx2.git
[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:
parent
240349ea47
commit
a18c72489b
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue