From 053ee3cc52a44a450001eb9b1f907ce91fad39f9 Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 29 Oct 2009 04:34:27 +0000 Subject: No ||= operator! --- src/utils/cpuid.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/utils') diff --git a/src/utils/cpuid.cpp b/src/utils/cpuid.cpp index 298caf078..2d3b5d92c 100644 --- a/src/utils/cpuid.cpp +++ b/src/utils/cpuid.cpp @@ -143,13 +143,13 @@ bool CPUID::has_altivec() // Top 16 bit suffice to identify model pvr >>= 16; - altivec_capable ||= (pvr == PVR_G4_7400); - altivec_capable ||= ((pvr >> 8) == PVR_G4_74xx_24); - altivec_capable ||= (pvr == PVR_G5_970); - altivec_capable ||= (pvr == PVR_G5_970FX); - altivec_capable ||= (pvr == PVR_G5_970MP); - altivec_capable ||= (pvr == PVR_G5_970GX); - altivec_capable ||= (pvr == PVR_CELL_PPU); + altivec_capable |= (pvr == PVR_G4_7400); + altivec_capable |= ((pvr >> 8) == PVR_G4_74xx_24); + altivec_capable |= (pvr == PVR_G5_970); + altivec_capable |= (pvr == PVR_G5_970FX); + altivec_capable |= (pvr == PVR_G5_970MP); + altivec_capable |= (pvr == PVR_G5_970GX); + altivec_capable |= (pvr == PVR_CELL_PPU); #endif first_time = false; -- cgit v1.2.3