mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
Qt: Fix incorrect renderer shown in status bar
This commit is contained in:
committed by
Connor McLaughlin
parent
1a1fdf6a5a
commit
ad5de248b4
+1
-1
@@ -995,7 +995,7 @@ void EmuThread::updatePerformanceMetrics(bool force)
|
||||
QMetaObject::invokeMethod(g_main_window->getStatusVerboseWidget(), "setText", Qt::QueuedConnection, Q_ARG(const QString&, gs_stat));
|
||||
}
|
||||
|
||||
const GSRendererType renderer = GSConfig.Renderer;
|
||||
const GSRendererType renderer = GSGetCurrentRenderer(); // Reading from GS thread, therefore racey, but it's just visual.
|
||||
const float speed = std::round(PerformanceMetrics::GetSpeed());
|
||||
const float gfps = std::round(PerformanceMetrics::GetInternalFPS());
|
||||
const float vfps = std::round(PerformanceMetrics::GetFPS());
|
||||
|
||||
Reference in New Issue
Block a user