1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-01 16:24:12 +01:00

[d3d8] Stub DebugSetMute to fix C&C:Generals performance

This commit is contained in:
WinterSnowfall 2024-10-10 13:49:49 +03:00 committed by Philip Rebohle
parent c8759418af
commit 44b682051b
3 changed files with 6 additions and 1 deletions

View File

@ -2,5 +2,5 @@ LIBRARY D3D8.DLL
EXPORTS
ValidatePixelShader @ 2
ValidateVertexShader @ 3
DebugSetMute @ 4
Direct3DCreate8 @ 5

View File

@ -2,6 +2,7 @@
global:
ValidatePixelShader;
ValidateVertexShader;
DebugSetMute;
Direct3DCreate8;
local:

View File

@ -51,6 +51,10 @@ extern "C" {
return S_OK;
}
DLLEXPORT void __stdcall DebugSetMute() {
dxvk::Logger::debug("D3D8: DebugSetMute: Stub");
}
DLLEXPORT IDirect3D8* __stdcall Direct3DCreate8(UINT nSDKVersion) {
IDirect3D8* pDirect3D = nullptr;
dxvk::CreateD3D8(&pDirect3D);