From da623ae838ef8277a230004d88270b1fdb37235a Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Thu, 8 Jul 2021 18:26:23 +0200 Subject: [PATCH] Add vendor string Shanghai as the successor to Centaur --- cpuid_x86.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpuid_x86.c b/cpuid_x86.c index 4553b89f1..4737b1851 100644 --- a/cpuid_x86.c +++ b/cpuid_x86.c @@ -283,6 +283,7 @@ int get_vendor(void){ if (!strcmp(vendor, "CyrixInstead")) return VENDOR_CYRIX; if (!strcmp(vendor, "NexGenDriven")) return VENDOR_NEXGEN; if (!strcmp(vendor, "CentaurHauls")) return VENDOR_CENTAUR; + if (!strcmp(vendor, " Shanghai ")) return VENDOR_CENTAUR; if (!strcmp(vendor, "RiseRiseRise")) return VENDOR_RISE; if (!strcmp(vendor, " SiS SiS SiS")) return VENDOR_SIS; if (!strcmp(vendor, "GenuineTMx86")) return VENDOR_TRANSMETA;