summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2023-11-25 16:23:54 -0600
committeriwubcode <iwubcode@users.noreply.github.com>2023-11-26 16:27:26 -0600
commit849a0c13b5fbfc31b38e2b2593b1213b8adfb9f4 (patch)
tree115cb2a61d54aff3e376e59426453f0399e6560c /Source/Core/VideoCommon/OpcodeDecoding.cpp
parent1a2d0882d04446550687424e36a81a2c16a6a00d (diff)
VideoCommon: move xf state management to its own class, so changes can be detected in places other than VertexShaderManager
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
-rw-r--r--Source/Core/VideoCommon/OpcodeDecoding.cpp6
1 files changed, 3 insertions, 3 deletions
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)
{