mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-02-18 11:55:38 +00:00
Qt: Fix performance counters showing up without VM
This commit is contained in:
parent
ba5d1a109e
commit
96d377a396
|
@ -353,7 +353,9 @@ void EmuThread::checkForSettingsChanges(const Settings& old_settings)
|
||||||
if (g_main_window)
|
if (g_main_window)
|
||||||
{
|
{
|
||||||
QMetaObject::invokeMethod(g_main_window, &MainWindow::checkForSettingChanges, Qt::QueuedConnection);
|
QMetaObject::invokeMethod(g_main_window, &MainWindow::checkForSettingChanges, Qt::QueuedConnection);
|
||||||
updatePerformanceCounters();
|
|
||||||
|
if (System::IsValid())
|
||||||
|
updatePerformanceCounters();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_gpu_device)
|
if (g_gpu_device)
|
||||||
|
|
Loading…
Reference in a new issue