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).
This commit is contained in:
parent
2a7f150561
commit
b7db359081
|
@ -132,7 +132,7 @@ enum
|
|||
// XFMEM_SETPROJECTIONORTHO2 = 0x1027,
|
||||
XFMEM_SETNUMTEXGENS = 0x103f,
|
||||
XFMEM_SETTEXMTXINFO = 0x1040,
|
||||
XFMEM_SETPOSMTXINFO = 0x1050,
|
||||
XFMEM_SETPOSTMTXINFO = 0x1050,
|
||||
};
|
||||
|
||||
union LitChannel
|
||||
|
|
|
@ -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;
|
||||
|
||||
// --------------
|
||||
|
|
Loading…
Reference in New Issue