mirror of
https://github.com/AxioDL/zeus.git
synced 2025-07-03 11:46:05 +00:00
Fix CPU Brand
This commit is contained in:
parent
f7fb4b0ecc
commit
a8ee545c63
@ -35,7 +35,7 @@ void detectCPU()
|
|||||||
*reinterpret_cast<int*>((char*)g_cpuFeatures.cpuVendor) = regs[1];
|
*reinterpret_cast<int*>((char*)g_cpuFeatures.cpuVendor) = regs[1];
|
||||||
*reinterpret_cast<int*>((char*)g_cpuFeatures.cpuVendor + 4) = regs[3];
|
*reinterpret_cast<int*>((char*)g_cpuFeatures.cpuVendor + 4) = regs[3];
|
||||||
*reinterpret_cast<int*>((char*)g_cpuFeatures.cpuVendor + 8) = regs[2];
|
*reinterpret_cast<int*>((char*)g_cpuFeatures.cpuVendor + 8) = regs[2];
|
||||||
for (unsigned int i = 0x80000002; i < 0x80000004; i++)
|
for (unsigned int i = 0x80000002; i <= 0x80000004; i++)
|
||||||
{
|
{
|
||||||
getCpuInfo(i, regs);
|
getCpuInfo(i, regs);
|
||||||
// Interpret CPU brand string and cache information.
|
// Interpret CPU brand string and cache information.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user