summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelEngine.cpp
diff options
context:
space:
mode:
authorLioncache <mai.iam2048@gmail.com>2023-12-22 14:06:11 -0500
committerLioncache <mai.iam2048@gmail.com>2023-12-22 14:19:29 -0500
commit0505f057ca8cc401494d9d1214b3507b14ea027e (patch)
tree84fd4d6a87edc0ebc2ab2d5c3a3bee4f26cb590e /Source/Core/VideoCommon/PixelEngine.cpp
parente539dbba4c632dbc471d5f269c44099bff5e9297 (diff)
VideoCommon/PixelEngine: Remove global system accessor in UpdateInterrupts()
Now that the system instance is passed through, this is no longer necessary.
Diffstat (limited to 'Source/Core/VideoCommon/PixelEngine.cpp')
-rw-r--r--Source/Core/VideoCommon/PixelEngine.cpp3
1 files changed, 1 insertions, 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,