mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
unix build fix, cpu detection improvement (SSSE3 detected)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@173 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
5fc50dc63c
commit
dc915d40f3
@ -90,6 +90,7 @@ void CPUInfoStruct::Detect()
|
|||||||
nCLFLUSHcachelinesize = ((CPUInfo[1] >> 8) & 0xff) * 8;
|
nCLFLUSHcachelinesize = ((CPUInfo[1] >> 8) & 0xff) * 8;
|
||||||
nAPICPhysicalID = (CPUInfo[1] >> 24) & 0xff;
|
nAPICPhysicalID = (CPUInfo[1] >> 24) & 0xff;
|
||||||
bSSE3NewInstructions = (CPUInfo[2] & 0x1) || false;
|
bSSE3NewInstructions = (CPUInfo[2] & 0x1) || false;
|
||||||
|
bSSSE3NewInstructions = (CPUInfo[2] & 0x200) || false;
|
||||||
bMONITOR_MWAIT = (CPUInfo[2] & 0x8) || false;
|
bMONITOR_MWAIT = (CPUInfo[2] & 0x8) || false;
|
||||||
bCPLQualifiedDebugStore = (CPUInfo[2] & 0x10) || false;
|
bCPLQualifiedDebugStore = (CPUInfo[2] & 0x10) || false;
|
||||||
bThermalMonitor2 = (CPUInfo[2] & 0x100) || false;
|
bThermalMonitor2 = (CPUInfo[2] & 0x100) || false;
|
||||||
|
@ -80,6 +80,7 @@ struct CPUInfoStruct
|
|||||||
bool bSSEExtensions;
|
bool bSSEExtensions;
|
||||||
bool bSSE2Extensions;
|
bool bSSE2Extensions;
|
||||||
bool bSSE3NewInstructions;
|
bool bSSE3NewInstructions;
|
||||||
|
bool bSSSE3NewInstructions;
|
||||||
bool bSelfSnoop;
|
bool bSelfSnoop;
|
||||||
bool bHyper_threadingTechnology;
|
bool bHyper_threadingTechnology;
|
||||||
bool bThermalMonitor;
|
bool bThermalMonitor;
|
||||||
|
@ -288,7 +288,7 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Debugger::LoadSymbolMap(path.c_str());
|
Debugger::LoadSymbolMap(path.ToAscii());
|
||||||
break;
|
break;
|
||||||
case IDM_SAVEMAPFILE:
|
case IDM_SAVEMAPFILE:
|
||||||
path = wxFileSelector(
|
path = wxFileSelector(
|
||||||
@ -306,7 +306,7 @@ void CCodeWindow::OnSymbolsMenu(wxCommandEvent& event)
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Debugger::SaveSymbolMap(path.c_str());
|
Debugger::SaveSymbolMap(path.ToAscii());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user