ddraw: Fixed device name.
This commit is contained in:
parent
c0a3ac5006
commit
cf38e4c930
|
@ -310,7 +310,7 @@ IDirect3DImpl_3_EnumDevices(IDirect3D3 *iface,
|
||||||
/* Some games (Motoracer 2 demo) have the bad idea to modify the device name string.
|
/* 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. */
|
Let's put the string in a sufficiently sized array in writable memory. */
|
||||||
char device_name[50];
|
char device_name[50];
|
||||||
strcpy(device_name,"direct3d");
|
strcpy(device_name,"Direct3D HEL");
|
||||||
|
|
||||||
TRACE("(%p)->(%p,%p)\n", This, Callback, Context);
|
TRACE("(%p)->(%p,%p)\n", This, Callback, Context);
|
||||||
EnterCriticalSection(&ddraw_cs);
|
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);
|
TRACE("(%p) Enumerating HAL Direct3D device\n", This);
|
||||||
d1 = dref;
|
d1 = dref;
|
||||||
d2 = dref;
|
d2 = dref;
|
||||||
|
|
Loading…
Reference in New Issue