mirror of https://github.com/PCSX2/pcsx2.git
Merge pull request #138 from Sonicadvance1/yuv2rgb-64bit
Let non-x86_32 use the reference yuv2rgb conversion function.
This commit is contained in:
commit
aaf70d652b
|
@ -58,6 +58,7 @@ void yuv2rgb_reference(void)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef _M_X86_32
|
||||
// Everything below is bit accurate to the IPU specification (except maybe rounding).
|
||||
// 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}
|
||||
|
@ -403,3 +404,4 @@ ihatemsvc:
|
|||
# error Unsupported compiler
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -15,7 +15,10 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define yuv2rgb yuv2rgb_sse2
|
||||
|
||||
extern void yuv2rgb_reference();
|
||||
#ifdef _M_X86_32
|
||||
#define yuv2rgb yuv2rgb_sse2
|
||||
extern void yuv2rgb_sse2();
|
||||
#else
|
||||
#define yuv2rgb yuv2rgb_reference
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue