about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-05-27 09:53:29 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-05-27 09:53:29 +0200
commit9e0139f3c3245b309b8ca1e7856fd27df3a99630 (patch)
tree79e4deb69ffff8f2a85a9d1e3638559cbf065200 /src
parentec3c3b7eed1fee14ef6a9c938edacfa8ac97b221 (diff)
downloadbox64-9e0139f3c3245b309b8ca1e7856fd27df3a99630.tar.gz
box64-9e0139f3c3245b309b8ca1e7856fd27df3a99630.zip
Small cleanup in my_cpuid
Diffstat (limited to 'src')
-rw-r--r--src/tools/my_cpuid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/my_cpuid.c b/src/tools/my_cpuid.c
index a78c499d..d36e67d1 100644
--- a/src/tools/my_cpuid.c
+++ b/src/tools/my_cpuid.c
@@ -257,7 +257,7 @@ void my_cpuid(x64emu_t* emu, uint32_t tmp32u)
                     //| 1<<12     // fma    // some games treat FMA as AVX
                     | 1<<13     // cx16 (cmpxchg16)
                     | 1<<19     // SSE4_1
-                    | (box64_sse42?(1<<20):0)     // SSE4_2 can be hiden
+                    | box64_sse42<<20     // SSE4_2 can be hiden
                     | 1<<22     // MOVBE
                     | 1<<23     // POPCOUNT
                     | 1<<25     // aesni