Fix cpuid 0x7 for AMD

This commit is contained in:
EnderIce2
2024-02-28 05:07:22 +02:00
parent f34f6f94c6
commit a49d4936e3
3 changed files with 4 additions and 4 deletions

View File

@ -251,7 +251,7 @@ namespace CPU
if (strcmp(CPU::Vendor(), x86_CPUID_VENDOR_AMD) == 0)
{
CPU::x86::AMD::CPUID0x00000001 cpuid1;
CPU::x86::AMD::CPUID0x00000007 cpuid7;
CPU::x86::AMD::CPUID0x00000007_ECX_0 cpuid7;
feat.PGE = cpuid1.EDX.PGE;
feat.SSE = cpuid1.EDX.SSE;