pcsx2: Get Linux compiling.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3635 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
arcum42 2010-08-12 11:28:22 +00:00
parent 09b52156d7
commit a586d8364e
2 changed files with 7 additions and 0 deletions

View File

@ -58,6 +58,8 @@ union VECTOR {
float F[4];
u128 UQ;
s128 SQ;
u64 UD[2]; //128 bits
s64 SD[2];
u32 UL[4];

View File

@ -88,7 +88,12 @@ namespace OpcodeImpl
void LQC2() {
u32 addr = cpuRegs.GPR.r[_Rs_].UL[0] + (s16)cpuRegs.code;
if (_Ft_) {
#ifdef __LINUX__
// Ifdeffing mainly because I haven't gotten around to checking it in Windows yet.
memRead128(addr, &VU0.VF[_Ft_].UQ);
#else
memRead128(addr, VU0.VF[_Ft_].UD);
#endif
} else {
u64 val[2];
memRead128(addr, val);