mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-06-01 09:32:34 +00:00
- Fixed: The FeatureFlags array in the CPUInfo struct was not mapped to the flags properly.
SVN r1761 (trunk)
This commit is contained in:
parent
d4c8c47796
commit
a47ec74eba
1 changed files with 50 additions and 50 deletions
14
src/x86.h
14
src/x86.h
|
@ -16,10 +16,6 @@ struct CPUInfo // 92 bytes
|
|||
DWORD dwCPUString[12];
|
||||
};
|
||||
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
BYTE Stepping;
|
||||
BYTE Model;
|
||||
BYTE Family;
|
||||
|
@ -30,6 +26,10 @@ struct CPUInfo // 92 bytes
|
|||
BYTE CPUCount;
|
||||
BYTE APICID;
|
||||
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
DWORD bSSE3:1;
|
||||
DWORD DontCare1:8;
|
||||
DWORD bSSSE3:1;
|
||||
|
@ -37,9 +37,6 @@ struct CPUInfo // 92 bytes
|
|||
DWORD bSSE41:1;
|
||||
DWORD bSSE42:1;
|
||||
DWORD DontCare2a:11;
|
||||
};
|
||||
DWORD FeatureFlags[3];
|
||||
};
|
||||
|
||||
DWORD bFPU:1;
|
||||
DWORD bVME:1;
|
||||
|
@ -80,6 +77,9 @@ struct CPUInfo // 92 bytes
|
|||
DWORD DontCare3:6;
|
||||
DWORD b3DNowPlus:1;
|
||||
DWORD b3DNow:1;
|
||||
};
|
||||
DWORD FeatureFlags[3];
|
||||
};
|
||||
|
||||
BYTE AMDStepping;
|
||||
BYTE AMDModel;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue