Qt: Fix performance counters showing up without VM

This commit is contained in:
Stenzek 2023-12-07 14:14:06 +10:00
parent ba5d1a109e
commit 96d377a396
No known key found for this signature in database

View file

@ -353,7 +353,9 @@ void EmuThread::checkForSettingsChanges(const Settings& old_settings)
if (g_main_window)
{
QMetaObject::invokeMethod(g_main_window, &MainWindow::checkForSettingChanges, Qt::QueuedConnection);
updatePerformanceCounters();
if (System::IsValid())
updatePerformanceCounters();
}
if (g_gpu_device)