diff options
author | lloyd <[email protected]> | 2009-10-29 04:34:27 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-10-29 04:34:27 +0000 |
commit | 053ee3cc52a44a450001eb9b1f907ce91fad39f9 (patch) | |
tree | 91112532e1f2a64ea95ebe8ca061d8f89bbef9b6 | |
parent | 9b35547f5862ac2d34573d7421eb8be05c6064ae (diff) |
No ||= operator!
-rw-r--r-- | src/utils/cpuid.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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; |