Qt: Fix VPS Counter

This commit is contained in:
KamFretoZ 2024-09-25 23:11:18 +07:00 committed by Ty
parent 60e21e2530
commit ab5b622d70
1 changed files with 1 additions and 1 deletions

View File

@ -1056,7 +1056,7 @@ void EmuThread::updatePerformanceMetrics(bool force)
m_last_game_fps = gfps; m_last_game_fps = gfps;
} }
if (speed != m_last_speed || vfps != m_last_video_fps || force) if (vfps != m_last_video_fps || force)
{ {
QMetaObject::invokeMethod(g_main_window->getStatusVPSWidget(), "setText", Qt::QueuedConnection, QMetaObject::invokeMethod(g_main_window->getStatusVPSWidget(), "setText", Qt::QueuedConnection,
Q_ARG(const QString&, tr("VPS: %1 ").arg(vfps, 0, 'f', 0))); Q_ARG(const QString&, tr("VPS: %1 ").arg(vfps, 0, 'f', 0)));