summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2023-02-19 16:30:06 +0100
committerJosJuice <josjuice@gmail.com>2023-02-19 16:35:28 +0100
commitf2be35c7cdc97e53f3d9f424ec29d3cbeb6989d5 (patch)
tree46fc3b87f8b70716d9ea3ab5d852c5ac33dbac35 /Source/Core/VideoCommon/OpcodeDecoding.cpp
parente65167f9cd946cfacd1d6bfc86582e84e811518a (diff)
VideoCommon: Reword the unknown opcode error message
When faced with this error, users often don't try disabling dual core, even though the error message suggests it. Perhaps the message is just too long and lists too many things? To try to improve the situation, I'm rewording the message and making it say different things depending on what settings you are using.
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
-rw-r--r--Source/Core/VideoCommon/OpcodeDecoding.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp
index 9ffb59a277..4d43c6e66a 100644
--- a/Source/Core/VideoCommon/OpcodeDecoding.cpp
+++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp
@@ -219,8 +219,8 @@ public:
}
else
{
- Core::System::GetInstance().GetCommandProcessor().HandleUnknownOpcode(opcode, data,
- is_preprocess);
+ auto& system = Core::System::GetInstance();
+ system.GetCommandProcessor().HandleUnknownOpcode(system, opcode, data, is_preprocess);
m_cycles += 1;
}
}