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:
hrydgard 2008-08-10 19:14:14 +00:00
parent 5fc50dc63c
commit dc915d40f3
3 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;
} }
} }