aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils/cpuid.cpp14
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;