Added the D3DDevice_GetViewportOffsetAndScale (5558-5849)

This commit is contained in:
jarupxx 2017-02-11 19:07:50 +09:00
parent a6d8345bb4
commit bf0e4ecd29
3 changed files with 27 additions and 0 deletions

View File

@ -1536,6 +1536,21 @@ OOVPA_NO_XREF(D3DDevice_SetSoftDisplayFilter, 5558, 12)
{ 0x4F, 0x04 }, // (Offset,Value)-Pair #12
OOVPA_END;
// ******************************************************************
// * D3DDevice_GetViewportOffsetAndScale
// ******************************************************************
OOVPA_NO_XREF(D3DDevice_GetViewportOffsetAndScale, 5558, 8)
{ 0x1E, 0xD8 },
{ 0x40, 0xD8 },
{ 0x5E, 0xC9 },
{ 0x8C, 0x0E },
{ 0x9D, 0x0E },
{ 0xBE, 0xD8 },
{ 0xDD, 0x14 },
{ 0xFE, 0xC1 },
OOVPA_END;
// ******************************************************************
// * D3D8_5558
// ******************************************************************

View File

@ -1282,6 +1282,11 @@ OOVPA_NO_XREF(D3DDevice_GetVertexShaderSize, 5788, 13)
{ 0x12, 0x08 },
OOVPA_END;
// ******************************************************************
// * D3DDevice_GetViewportOffsetAndScale
// ******************************************************************
#define D3DDevice_GetViewportOffsetAndScale_5788 D3DDevice_GetViewportOffsetAndScale_5558
// ******************************************************************
// * D3D8_5788
// ******************************************************************
@ -1453,6 +1458,7 @@ OOVPATable D3D8_5788[] = {
REGISTER_OOVPA(D3DDevice_GetTexture2, 5788, PATCH),
REGISTER_OOVPA(D3DDevice_SetRenderTargetFast, 5344, PATCH),
REGISTER_OOVPA(D3DDevice_SetDepthClipPlanes, 5788, PATCH),
REGISTER_OOVPA(D3DDevice_GetViewportOffsetAndScale, 5788, PATCH),
};
// ******************************************************************

View File

@ -1284,6 +1284,11 @@ OOVPA_END;
// ******************************************************************
#define D3D_SetFence_5849 D3D_SetFence_5558
// ******************************************************************
// * D3DDevice_GetViewportOffsetAndScale
// ******************************************************************
#define D3DDevice_GetViewportOffsetAndScale_5849 D3DDevice_GetViewportOffsetAndScale_5558
// ******************************************************************
// * D3D8_5849
// ******************************************************************
@ -1440,6 +1445,7 @@ OOVPATable D3D8_5849[] = {
REGISTER_OOVPA(D3DDevice_SetScreenSpaceOffset, 5849, PATCH),
REGISTER_OOVPA(D3DDevice_SetVertexShaderInput, 5849, PATCH),
REGISTER_OOVPA(D3D_SetFence, 5849, XREF),
REGISTER_OOVPA(D3DDevice_GetViewportOffsetAndScale, 5849, PATCH),
};
// ******************************************************************