From f97b2d472acdc8f69427f184fa8fc35a08f231e6 Mon Sep 17 00:00:00 2001 From: Lioncache Date: Wed, 20 Dec 2023 08:40:38 -0500 Subject: VideoCommon/CommandProcessor: Pass system instance through constructor Makes the use of the interface a little less noisy, especially given how much of the interface depends on an instance being present. --- Source/Core/VideoCommon/OpcodeDecoding.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp') diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp index f0de922302..b82d79f005 100644 --- a/Source/Core/VideoCommon/OpcodeDecoding.cpp +++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp @@ -220,7 +220,7 @@ public: else { auto& system = Core::System::GetInstance(); - system.GetCommandProcessor().HandleUnknownOpcode(system, opcode, data, is_preprocess); + system.GetCommandProcessor().HandleUnknownOpcode(opcode, data, is_preprocess); m_cycles += 1; } } -- cgit v1.2.3