From 3dc396a64775a0aa8aae55513eda0d326cb50080 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Mon, 27 May 2024 16:50:26 +0200 Subject: Fixed cpuid leaf d, component 2 (fixes wine 9.6+ not booting) --- src/tools/my_cpuid.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src') diff --git a/src/tools/my_cpuid.c b/src/tools/my_cpuid.c index 68f902e9..2ed0e3a6 100644 --- a/src/tools/my_cpuid.c +++ b/src/tools/my_cpuid.c @@ -350,20 +350,6 @@ void my_cpuid(x64emu_t* emu, uint32_t tmp32u) R_ECX = R_EBX = R_EDX = 0; break; case 2: - // componant 0: x87 - R_EAX = 160; // size of the x87 block - R_EBX = 0; // offset - R_ECX = 0; - R_EDX = 0; - break; - case 3: - // componant 1: sse - R_EAX = 16*16; // size of the sse block - R_EBX = 160; // offset - R_ECX = 0; - R_EDX = 0; - break; - case 4: // componant 2: avx R_EAX = 16*16; // size of the avx block R_EBX = 512+64; // offset -- cgit 1.4.1