From 849a0c13b5fbfc31b38e2b2593b1213b8adfb9f4 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Sat, 25 Nov 2023 16:23:54 -0600 Subject: VideoCommon: move xf state management to its own class, so changes can be detected in places other than VertexShaderManager --- Source/Core/VideoCommon/OpcodeDecoding.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp') diff --git a/Source/Core/VideoCommon/OpcodeDecoding.cpp b/Source/Core/VideoCommon/OpcodeDecoding.cpp index 4d43c6e66a..f0de922302 100644 --- a/Source/Core/VideoCommon/OpcodeDecoding.cpp +++ b/Source/Core/VideoCommon/OpcodeDecoding.cpp @@ -27,8 +27,8 @@ #include "VideoCommon/Statistics.h" #include "VideoCommon/VertexLoaderBase.h" #include "VideoCommon/VertexLoaderManager.h" -#include "VideoCommon/VertexShaderManager.h" #include "VideoCommon/XFMemory.h" +#include "VideoCommon/XFStateManager.h" #include "VideoCommon/XFStructs.h" namespace OpcodeDecoder @@ -60,13 +60,13 @@ public: { VertexLoaderManager::g_needs_cp_xf_consistency_check = true; auto& system = Core::System::GetInstance(); - system.GetVertexShaderManager().SetTexMatrixChangedA(value); + system.GetXFStateManager().SetTexMatrixChangedA(value); } else if (sub_command == MATINDEX_B) { VertexLoaderManager::g_needs_cp_xf_consistency_check = true; auto& system = Core::System::GetInstance(); - system.GetVertexShaderManager().SetTexMatrixChangedB(value); + system.GetXFStateManager().SetTexMatrixChangedB(value); } else if (sub_command == VCD_LO || sub_command == VCD_HI) { -- cgit v1.2.3