Commit 715de3cf authored by Ahmed Samy's avatar Ahmed Samy

cpuid: fix for MSVC in cpuid_is_supported()

Signed-off-by: default avatarAhmed Samy <f.fallen45@gmail.com>
parent dce6f0fa
......@@ -160,8 +160,8 @@ bool cpuid_is_supported(void)
pushfd
pop eax
xor eax, ecx
shr eax, 0x21
and eax, 0x1
shr eax, 21
and eax, 1
push ecx
popfd
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment