summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2022-12-28 15:38:46 +0100
committerAdmiral H. Curtiss <pikachu025@gmail.com>2022-12-28 15:52:29 +0100
commit50625728e089c8868eb919244d4e6eafa4f4cf79 (patch)
treebc88f46cfe671ed8ed25cfa24fe83a9c74b83e3e /Source/Core/VideoCommon/OpcodeDecoding.cpp
parent0900e68986a4fa2254fb3c459f73af4815979e45 (diff)
VideoCommon: De-globalize VertexShaderManager class.
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
-rw-r--r--Source/Core/VideoCommon/OpcodeDecoding.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp
index 3cf16eb8ad..9ffb59a277 100644
--- a/Source/Core/VideoCommon/OpcodeDecoding.cpp
+++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp
@@ -59,12 +59,14 @@ public:
if (sub_command == MATINDEX_A)
{
VertexLoaderManager::g_needs_cp_xf_consistency_check = true;
- VertexShaderManager::SetTexMatrixChangedA(value);
+ auto& system = Core::System::GetInstance();
+ system.GetVertexShaderManager().SetTexMatrixChangedA(value);
}
else if (sub_command == MATINDEX_B)
{
VertexLoaderManager::g_needs_cp_xf_consistency_check = true;
- VertexShaderManager::SetTexMatrixChangedB(value);
+ auto& system = Core::System::GetInstance();
+ system.GetVertexShaderManager().SetTexMatrixChangedB(value);
}
else if (sub_command == VCD_LO || sub_command == VCD_HI)
{