Skip to content

Commit b68732e

Browse files
committed
d3d8: lower D3DDevice_FlushVertexCache 4134 signature to 4039
1 parent bbb8173 commit b68732e

3 files changed

Lines changed: 22 additions & 22 deletions

File tree

src/OOVPADatabase/D3D8/4039.inl

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,3 +814,23 @@ OOVPA_SIG_MATCH(
814814
{ 0x2E, 0x0F },
815815
//
816816
);
817+
818+
// ******************************************************************
819+
// * D3DDevice_FlushVertexCache
820+
// ******************************************************************
821+
OOVPA_SIG_HEADER_NO_XREF(D3DDevice_FlushVertexCache,
822+
4039)
823+
OOVPA_SIG_MATCH(
824+
825+
{ 0x00, 0x56 },
826+
{ 0x07, 0x8B },
827+
{ 0x08, 0x06 },
828+
{ 0x0D, 0x05 },
829+
{ 0x13, 0xC7 },
830+
{ 0x15, 0x10 },
831+
{ 0x17, 0x04 },
832+
{ 0x1C, 0x00 },
833+
{ 0x21, 0xC0 },
834+
{ 0x26, 0xC3 },
835+
//
836+
);

src/OOVPADatabase/D3D8/4134.inl

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -564,26 +564,6 @@ OOVPA_SIG_MATCH(
564564
//
565565
);
566566

567-
// ******************************************************************
568-
// * D3DDevice_FlushVertexCache
569-
// ******************************************************************
570-
OOVPA_SIG_HEADER_NO_XREF(D3DDevice_FlushVertexCache,
571-
4134)
572-
OOVPA_SIG_MATCH(
573-
574-
{ 0x00, 0x56 },
575-
{ 0x07, 0x8B },
576-
{ 0x08, 0x06 },
577-
{ 0x0D, 0x05 },
578-
{ 0x13, 0xC7 },
579-
{ 0x15, 0x10 },
580-
{ 0x17, 0x04 },
581-
{ 0x1C, 0x00 },
582-
{ 0x21, 0xC0 },
583-
{ 0x26, 0xC3 },
584-
//
585-
);
586-
587567
// ******************************************************************
588568
// * D3DDevice_MakeSpace
589569
// ******************************************************************

src/OOVPADatabase/D3D8_OOVPA.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
// * D3DDevice_End (4034)
6363
// * D3DDevice_EndPushBuffer (3950, 4034, 4242, 4831, 5028)
6464
// * D3DDevice_EndStateBlock (3950, 4034, 4039, 4721, 4831, 5028, 5120)
65-
// * D3DDevice_FlushVertexCache (4034, 4039)
65+
// * D3DDevice_FlushVertexCache (4034)
6666
// * D3DDevice_GetBackBuffer (4721, 4831, 4928, 5028, 5120, 5233, 5455)
6767
// * D3DDevice_GetBackMaterial (4034)
6868
// * D3DDevice_GetDepthStencilSurface (4034)
@@ -308,7 +308,7 @@ static OOVPATable D3D8_OOVPA_Table[] = {
308308
REGISTER_OOVPAS(SYM_FUN(D3DDevice_EndVisibilityTest, CALL(std), STACK(/*default*/), PARAMS(PARAM(psh, Index))),
309309
SYM_SIG(3911)),
310310
REGISTER_OOVPAS(SYM_FUN(D3DDevice_FlushVertexCache, CALL(std), STACK(/*default*/), PARAMS(PARAM1(void))),
311-
SYM_SIG(3911, 4134)),
311+
SYM_SIG(3911, 4039)),
312312
REGISTER_OOVPAS(SYM_FUN(D3DDevice_GetBackBuffer, CALL(std), STACK(/*default*/), PARAMS(PARAM(psh, BackBuffer), PARAM(psh, Type), PARAM(psh, ppBackBuffer))),
313313
SYM_SIG(3911, 4034, 4134, 4627)),
314314
REGISTER_OOVPAS(SYM_FUN(D3DDevice_GetBackBuffer2, CALL(std), STACK(/*default*/), PARAMS(PARAM(psh, BackBuffer))),

0 commit comments

Comments
 (0)