diff --git a/patches/d3d9-Direct3DShaderValidatorCreate9/0001-d3d9-Return-a-stub-interface-from-Direct3DShaderVali.patch b/patches/d3d9-Direct3DShaderValidatorCreate9/0001-d3d9-Return-a-stub-interface-from-Direct3DShaderVali.patch index 2fabfcec..7b97e9fe 100644 --- a/patches/d3d9-Direct3DShaderValidatorCreate9/0001-d3d9-Return-a-stub-interface-from-Direct3DShaderVali.patch +++ b/patches/d3d9-Direct3DShaderValidatorCreate9/0001-d3d9-Return-a-stub-interface-from-Direct3DShaderVali.patch @@ -1,4 +1,4 @@ -From 9838666108baca0c57a9dc5538d0d9af98eae18e Mon Sep 17 00:00:00 2001 +From f6f5f94053043d6d39767f0c7ac5cd0307019559 Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Tue, 12 Nov 2019 21:13:22 -0600 Subject: [PATCH] d3d9: Return a stub interface from @@ -11,7 +11,7 @@ Signed-off-by: Zebediah Figura 1 file changed, 57 insertions(+), 4 deletions(-) diff --git a/dlls/d3d9/d3d9_main.c b/dlls/d3d9/d3d9_main.c -index 21df2a34cd2..3bec0eaa169 100644 +index 21df2a34c..aff43070a 100644 --- a/dlls/d3d9/d3d9_main.c +++ b/dlls/d3d9/d3d9_main.c @@ -75,18 +75,71 @@ HRESULT WINAPI DECLSPEC_HOTPATCH Direct3DCreate9Ex(UINT sdk_version, IDirect3D9E @@ -45,10 +45,10 @@ index 21df2a34cd2..3bec0eaa169 100644 + return S_OK; +} + -+static HRESULT WINAPI shader_validator_stub2(void *arg1, void *arg2, void *arg3, DWORD *arg4, DWORD_PTR arg5) ++static HRESULT WINAPI shader_validator_stub2(void *arg1, void *arg2, void *arg3, DWORD *arg4, DWORD arg5) +{ + int i; -+ FIXME("arg1 %p, arg2 %p, arg3 %p, arg4 %p, arg5 %#lx, stub!\n", arg1, arg2, arg3, arg4, arg5); ++ FIXME("arg1 %p, arg2 %p, arg3 %p, arg4 %p, arg5 %u, stub!\n", arg1, arg2, arg3, arg4, arg5); + for (i = 0; i < arg5; ++i) + FIXME(" %#x\n", arg4[i]); + return S_OK;