From 0df401b164bbe2b0314b74f1fd6385e852bbe098 Mon Sep 17 00:00:00 2001 From: mitaclaw <140017135+mitaclaw@users.noreply.github.com> Date: Mon, 8 Apr 2024 20:33:55 -0700 Subject: Core::IsRunning: Avoid Global System Accessor --- Source/Core/VideoCommon/VideoBackendBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/VideoBackendBase.cpp') diff --git a/Source/Core/VideoCommon/VideoBackendBase.cpp b/Source/Core/VideoCommon/VideoBackendBase.cpp index 91492321f4..a5d309cc96 100644 --- a/Source/Core/VideoCommon/VideoBackendBase.cpp +++ b/Source/Core/VideoCommon/VideoBackendBase.cpp @@ -299,7 +299,7 @@ void VideoBackendBase::PopulateBackendInfoFromUI(const WindowSystemInfo& wsi) { // If the core is running, the backend info will have been populated already. // If we did it here, the UI thread can race with the with the GPU thread. - if (!Core::IsRunning()) + if (!Core::IsRunning(Core::System::GetInstance())) PopulateBackendInfo(wsi); } -- cgit v1.2.3