Files
wine-staging/patches/d3drm-starwars/0009-d3drm-SetBufferCount-Fake-success.patch
Alistair Leslie-Hughes 31b114a4e3 Added d3drm-starwars patchset
This stops the crash but doesn't show the battle at all.

Patchset shows what is needed (as a minimum), to be
implemented in order for it to work correctly.
2025-10-16 17:40:42 +11:00

28 lines
882 B
Diff

From eed9eef5f7dda1c86dd59aa284f158ba33008480 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Date: Sat, 4 Jun 2022 14:48:54 +1000
Subject: [PATCH] d3drm: SetBufferCount Fake success
Wine-bug: https://bugs.winehq.org/show_bug.cgi?id=43180
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
---
dlls/d3drm/device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3drm/device.c b/dlls/d3drm/device.c
index 1a433746224..fe85784ee63 100644
--- a/dlls/d3drm/device.c
+++ b/dlls/d3drm/device.c
@@ -783,7 +783,7 @@ static HRESULT WINAPI d3drm_device3_SetBufferCount(IDirect3DRMDevice3 *iface, DW
{
FIXME("iface %p, count %lu stub!\n", iface, count);
- return E_NOTIMPL;
+ return S_OK;
}
static HRESULT WINAPI d3drm_device2_SetBufferCount(IDirect3DRMDevice2 *iface, DWORD count)
--
2.45.2