From 0505f057ca8cc401494d9d1214b3507b14ea027e Mon Sep 17 00:00:00 2001 From: Lioncache Date: Fri, 22 Dec 2023 14:06:11 -0500 Subject: [PATCH] VideoCommon/PixelEngine: Remove global system accessor in UpdateInterrupts() Now that the system instance is passed through, this is no longer necessary. --- Source/Core/VideoCommon/PixelEngine.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/PixelEngine.cpp b/Source/Core/VideoCommon/PixelEngine.cpp index 880fa575dd..b864292863 100644 --- a/Source/Core/VideoCommon/PixelEngine.cpp +++ b/Source/Core/VideoCommon/PixelEngine.cpp @@ -160,8 +160,7 @@ void PixelEngineManager::RegisterMMIO(MMIO::Mapping* mmio, u32 base) void PixelEngineManager::UpdateInterrupts() { - auto& system = Core::System::GetInstance(); - auto& processor_interface = system.GetProcessorInterface(); + auto& processor_interface = m_system.GetProcessorInterface(); // check if there is a token-interrupt processor_interface.SetInterrupt(INT_CAUSE_PE_TOKEN,