mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Dolphin:
System Information(InfoWindow.cpp) - Added a method to check what Windows OS you are running(I do not know of a method to check what linux OS someone is using) and also added a extended version of the cpu_summarize. Plugin manager - Temporarily fixed a problem that caused a crashing when pressing Stop reported in Issue 1656 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4561 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -201,3 +201,23 @@ std::string CPUInfo::Summarize()
|
||||
if (bLongMode) sum += ", 64-bit support";
|
||||
return sum;
|
||||
}
|
||||
|
||||
// Turn the cpu info into a string we can show(This version uses headings and line breaks)
|
||||
std::string CPUInfo::Summarize_long()
|
||||
{
|
||||
std::string sum;
|
||||
sum = StringFromFormat("CPU Brand: %s\n",cpu_string);
|
||||
|
||||
sum += StringFromFormat("Number of cores: %i \n ",num_cores);
|
||||
|
||||
sum+= "Supported instruction sets:\n";
|
||||
|
||||
if (bSSE) sum += " -SSE\n";
|
||||
if (bSSE2) sum += " -SSE2\n";
|
||||
if (bSSE3) sum += " -SSE3\n";
|
||||
if (bSSSE3) sum += " -SSSE3\n";
|
||||
if (bSSE4_1) sum += " -SSE4.1\n";
|
||||
if (bSSE4_2) sum += " -SSE4.2\n";
|
||||
if (bLongMode) sum += "64-bit supported";
|
||||
return sum;
|
||||
}
|
Reference in New Issue
Block a user