2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 09:07:42 +00:00

Add developer mode CVar, use CPU max MHz instead

This commit is contained in:
2018-01-15 05:17:08 -08:00
parent 2fd21e3270
commit bf1e342bc4
3 changed files with 22 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ SysReqTableModel::SysReqTableModel(QObject* parent)
for (const QJsonValue& v: lscpuObj.toArray())
{
QJsonObject vObj = v.toObject();
if (vObj.take("field").toString() == "CPU MHz:")
if (vObj.take("field").toString() == "CPU max MHz:")
{
double speed = vObj.take("data").toString().toDouble();
m_cpuSpeed = speed;