From cf38e4c9304286f57c1cab31c760e49c033a149c Mon Sep 17 00:00:00 2001 From: Jens Albretsen Date: Sun, 20 Apr 2008 01:01:50 +0200 Subject: [PATCH] ddraw: Fixed device name. --- dlls/ddraw/direct3d.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/ddraw/direct3d.c b/dlls/ddraw/direct3d.c index 0e026fd1cf7..3ccf8e4cf8d 100644 --- a/dlls/ddraw/direct3d.c +++ b/dlls/ddraw/direct3d.c @@ -310,7 +310,7 @@ IDirect3DImpl_3_EnumDevices(IDirect3D3 *iface, /* Some games (Motoracer 2 demo) have the bad idea to modify the device name string. Let's put the string in a sufficiently sized array in writable memory. */ char device_name[50]; - strcpy(device_name,"direct3d"); + strcpy(device_name,"Direct3D HEL"); TRACE("(%p)->(%p,%p)\n", This, Callback, Context); EnterCriticalSection(&ddraw_cs); @@ -359,6 +359,8 @@ IDirect3DImpl_3_EnumDevices(IDirect3D3 *iface, } } + strcpy(device_name,"Direct3D HAL"); + TRACE("(%p) Enumerating HAL Direct3D device\n", This); d1 = dref; d2 = dref;