Merge pull request #8777 from delroth/pospost

XFMemory: SETPOSMTXINFO should be SETPOSTMTXINFO
This commit is contained in:
Scott Mansell 2020-04-29 15:50:07 +12:00 committed by GitHub
commit ffc40c1a00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 11 deletions

View File

@ -132,7 +132,7 @@ enum
// XFMEM_SETPROJECTIONORTHO2 = 0x1027,
XFMEM_SETNUMTEXGENS = 0x103f,
XFMEM_SETTEXMTXINFO = 0x1040,
XFMEM_SETPOSMTXINFO = 0x1050,
XFMEM_SETPOSTMTXINFO = 0x1050,
};
union LitChannel

View File

@ -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;
// --------------