summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorLioncache <mai.iam2048@gmail.com>2023-12-20 08:40:38 -0500
committerLioncache <mai.iam2048@gmail.com>2023-12-20 09:02:53 -0500
commitf97b2d472acdc8f69427f184fa8fc35a08f231e6 (patch)
treeb157b17f28e3b34244e9cc4ea6b6fdc9801a9511 /Source/Core/VideoCommon/OpcodeDecoding.cpp
parent70b7a59456164606833ebe45e7d790b8f03aab7a (diff)
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.
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
-rw-r--r--Source/Core/VideoCommon/OpcodeDecoding.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}
}