mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-30 23:13:31 +01:00
Fix wrong detection of AMD CPUs.
This commit is contained in:
parent
afe6b2f45b
commit
3b5d4771a0
@ -218,8 +218,8 @@ VC_INLINE int IsAMD(const uint32 output[4])
|
||||
{
|
||||
// This is the "AuthenticAMD" string
|
||||
return (output[1] /*EBX*/ == 0x68747541) &&
|
||||
(output[2] /*ECX*/ == 0x69746E65) &&
|
||||
(output[3] /*EDX*/ == 0x444D4163);
|
||||
(output[2] /*ECX*/ == 0x444D4163) &&
|
||||
(output[3] /*EDX*/ == 0x69746E65);
|
||||
}
|
||||
|
||||
VC_INLINE int IsHygon(const uint32 output[4])
|
||||
|
Loading…
Reference in New Issue
Block a user