Display number of processors in System Info dialog.
Oops: on Windows, ask the system about the values before displaying it instead of expecting the structure to fill itself. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28107 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
752ce1e6e7
commit
f75d912d7c
1 changed files with 1 additions and 0 deletions
|
@ -169,6 +169,7 @@ QString System::osVersionString(void)
|
|||
ZeroMemory(&osvi, sizeof(OSVERSIONINFO));
|
||||
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
|
||||
GetVersionEx(&osvi);
|
||||
GetSystemInfo(&sysinfo);
|
||||
|
||||
result = QString("Windows version %1.%2, ").arg(osvi.dwMajorVersion).arg(osvi.dwMinorVersion);
|
||||
if(osvi.szCSDVersion)
|
||||
|
|
Loading…
Reference in a new issue