Add implementation of SetVertexShaderConstant1Fast

This commit is contained in:
jarupxx 2017-11-19 16:14:33 +09:00 committed by PatrickvL
parent 1b921f9430
commit 75a939a7dd
2 changed files with 27 additions and 0 deletions

View File

@ -3647,6 +3647,24 @@ VOID __fastcall XTL::EMUPATCH(D3DDevice_SetVertexShaderConstant1)
EMUPATCH(D3DDevice_SetVertexShaderConstant)(Register, pConstantData, 1); EMUPATCH(D3DDevice_SetVertexShaderConstant)(Register, pConstantData, 1);
} }
// ******************************************************************
// * patch: D3DDevice_SetVertexShaderConstant1Fast
// ******************************************************************
VOID __fastcall XTL::EMUPATCH(D3DDevice_SetVertexShaderConstant1Fast)
(
INT Register,
CONST PVOID pConstantData
)
{
FUNC_EXPORTS
LOG_FORWARD("D3DDevice_SetVertexShaderConstant");
// Redirect to the standard version.
EMUPATCH(D3DDevice_SetVertexShaderConstant)(Register, pConstantData, 1);
}
// ****************************************************************** // ******************************************************************
// * patch: D3DDevice_SetVertexShaderConstant4 // * patch: D3DDevice_SetVertexShaderConstant4
// ****************************************************************** // ******************************************************************

View File

@ -408,6 +408,15 @@ VOID __fastcall EMUPATCH(D3DDevice_SetVertexShaderConstant1)
CONST PVOID pConstantData CONST PVOID pConstantData
); );
// ******************************************************************
// * patch: D3DDevice_SetVertexShaderConstant1Fast
// ******************************************************************
VOID __fastcall EMUPATCH(D3DDevice_SetVertexShaderConstant1Fast)
(
INT Register,
CONST PVOID pConstantData
);
// ****************************************************************** // ******************************************************************
// * patch: D3DDevice_SetVertexShaderConstant4 // * patch: D3DDevice_SetVertexShaderConstant4
// ****************************************************************** // ******************************************************************