Add implementation of SetVertexShaderConstant1Fast
This commit is contained in:
parent
1b921f9430
commit
75a939a7dd
|
@ -3647,6 +3647,24 @@ VOID __fastcall XTL::EMUPATCH(D3DDevice_SetVertexShaderConstant1)
|
|||
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
|
||||
// ******************************************************************
|
||||
|
|
|
@ -408,6 +408,15 @@ VOID __fastcall EMUPATCH(D3DDevice_SetVertexShaderConstant1)
|
|||
CONST PVOID pConstantData
|
||||
);
|
||||
|
||||
// ******************************************************************
|
||||
// * patch: D3DDevice_SetVertexShaderConstant1Fast
|
||||
// ******************************************************************
|
||||
VOID __fastcall EMUPATCH(D3DDevice_SetVertexShaderConstant1Fast)
|
||||
(
|
||||
INT Register,
|
||||
CONST PVOID pConstantData
|
||||
);
|
||||
|
||||
// ******************************************************************
|
||||
// * patch: D3DDevice_SetVertexShaderConstant4
|
||||
// ******************************************************************
|
||||
|
|
Loading…
Reference in New Issue