diff --git a/pcsx2/VU.h b/pcsx2/VU.h index 077d4286ad..bec6ae8ebf 100644 --- a/pcsx2/VU.h +++ b/pcsx2/VU.h @@ -58,6 +58,8 @@ union VECTOR { float F[4]; + u128 UQ; + s128 SQ; u64 UD[2]; //128 bits s64 SD[2]; u32 UL[4]; diff --git a/pcsx2/VU0.cpp b/pcsx2/VU0.cpp index b6ec7d34ad..cd14811666 100644 --- a/pcsx2/VU0.cpp +++ b/pcsx2/VU0.cpp @@ -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);