summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/XFStructs.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2020-04-29 05:26:02 +0200
committerPierre Bourdon <delroth@gmail.com>2020-04-29 05:26:02 +0200
commitb7db3590813cd3e1e9801d7d22d3a008c465d8f1 (patch)
tree726a852188e99852d53f347965c72ffdf0572070 /Source/Core/VideoCommon/XFStructs.cpp
parent2a7f150561801c7a808254cf7b265b10b373b133 (diff)
XFMemory: SETPOSMTXINFO should be SETPOSTMTXINFO
It actually maps to postMtxInfo, not posMtxInfo (which isn't a thing). This is especially confusing because there *are* position matrices (as opposed to post-transform matrices).
Diffstat (limited to 'Source/Core/VideoCommon/XFStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/XFStructs.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/Source/Core/VideoCommon/XFStructs.cpp b/Source/Core/VideoCommon/XFStructs.cpp
index 6403ccf6a4..81ea7a8bba 100644
--- a/Source/Core/VideoCommon/XFStructs.cpp
+++ b/Source/Core/VideoCommon/XFStructs.cpp
@@ -152,18 +152,18 @@ static void XFRegWritten(int transferSize, u32 baseAddress, DataReader src)
nextAddress = XFMEM_SETTEXMTXINFO + 8;
break;
- case XFMEM_SETPOSMTXINFO:
- case XFMEM_SETPOSMTXINFO + 1:
- case XFMEM_SETPOSMTXINFO + 2:
- case XFMEM_SETPOSMTXINFO + 3:
- case XFMEM_SETPOSMTXINFO + 4:
- case XFMEM_SETPOSMTXINFO + 5:
- case XFMEM_SETPOSMTXINFO + 6:
- case XFMEM_SETPOSMTXINFO + 7:
+ case XFMEM_SETPOSTMTXINFO:
+ case XFMEM_SETPOSTMTXINFO + 1:
+ case XFMEM_SETPOSTMTXINFO + 2:
+ case XFMEM_SETPOSTMTXINFO + 3:
+ case XFMEM_SETPOSTMTXINFO + 4:
+ case XFMEM_SETPOSTMTXINFO + 5:
+ case XFMEM_SETPOSTMTXINFO + 6:
+ case XFMEM_SETPOSTMTXINFO + 7:
g_vertex_manager->Flush();
- VertexShaderManager::SetTexMatrixInfoChanged(address - XFMEM_SETPOSMTXINFO);
+ VertexShaderManager::SetTexMatrixInfoChanged(address - XFMEM_SETPOSTMTXINFO);
- nextAddress = XFMEM_SETPOSMTXINFO + 8;
+ nextAddress = XFMEM_SETPOSTMTXINFO + 8;
break;
// --------------