diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-05-27 16:50:26 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-05-27 16:50:26 +0200 |
| commit | 3dc396a64775a0aa8aae55513eda0d326cb50080 (patch) | |
| tree | cb75ba1cd5e26d37cb2ba970d65275f2a393ce15 /src/tools | |
| parent | c358bf448f7bc0f933cbf17d7e6184fc7720a237 (diff) | |
| download | box64-3dc396a64775a0aa8aae55513eda0d326cb50080.tar.gz box64-3dc396a64775a0aa8aae55513eda0d326cb50080.zip | |
Fixed cpuid leaf d, component 2 (fixes wine 9.6+ not booting)
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/my_cpuid.c | 14 |
1 files changed, 0 insertions, 14 deletions
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 |