minor fix

This commit is contained in:
Andreas Abel
2021-12-10 00:21:07 +01:00
parent 8d2acc3b71
commit daf178a42b

View File

@@ -181,7 +181,7 @@ def version_info(cpu):
stepping = a & 0xF
core_type = 0
if 0x1A <= cpuid(0x0)[0]:
if 0x1A <= cpu(0x0)[0]:
core_type = (cpu(0x1A)[0] >> 24)
return VersionInfo(int(displ_family), int(displ_model), int(stepping), int(core_type))