From d617ab37b8d378334462a0afda7c48048b49b146 Mon Sep 17 00:00:00 2001 From: jarupxx Date: Wed, 8 Feb 2017 19:34:53 +0900 Subject: [PATCH] Added the SetVertexDataColor fnction (4361) Test Drive shows the intro. --- src/CxbxKrnl/HLEDataBase/D3D8.1.0.4361.inl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4361.inl b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4361.inl index 8d196d383..a3f72826e 100644 --- a/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4361.inl +++ b/src/CxbxKrnl/HLEDataBase/D3D8.1.0.4361.inl @@ -1840,6 +1840,20 @@ OOVPA_NO_XREF(D3DDevice_GetVertexShader, 4361, 7) { 0x13, 0x00 }, OOVPA_END; +// ****************************************************************** +// * D3DDevice_SetVertexDataColor +// ****************************************************************** +OOVPA_NO_XREF(D3DDevice_SetVertexDataColor, 4361, 7) + + { 0x08, 0x06 }, + { 0x14, 0x8B }, + { 0x1C, 0x19 }, + { 0x26, 0xB6 }, + { 0x30, 0x00 }, + { 0x3A, 0xFF }, + { 0x44, 0x08 }, +OOVPA_END; + // ****************************************************************** // * D3D8_4361 // ****************************************************************** @@ -1987,6 +2001,7 @@ OOVPATable D3D8_4361[] = { REGISTER_OOVPA(D3DDevice_SetRenderState_PSTextureModes, 4361, PATCH), REGISTER_OOVPA(D3DDevice_SetPixelShaderProgram, 4361, PATCH), REGISTER_OOVPA(D3DDevice_GetVertexShader, 4361, PATCH), + REGISTER_OOVPA(D3DDevice_SetVertexDataColor, 4361, PATCH), }; // ******************************************************************