VideoCommon/PixelEngine: Remove global system accessor in UpdateInterrupts()

Now that the system instance is passed through, this is no longer necessary.
This commit is contained in:
Lioncache 2023-12-22 14:06:11 -05:00
parent e539dbba4c
commit 0505f057ca
1 changed files with 1 additions and 2 deletions

View File

@ -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,