Commit cf38e4c9 authored by Jens Albretsen's avatar Jens Albretsen Committed by Alexandre Julliard

ddraw: Fixed device name.

parent c0a3ac50
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment