mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
improve logs
This commit is contained in:
parent
a0f825fa4c
commit
2ee62a4674
@ -38,7 +38,7 @@ static PROC hook_func(PROC* org_func, PROC new_func)
|
|||||||
|
|
||||||
static HRESULT WINAPI fake_did_SetCooperativeLevel(IDirectInputDeviceA* This, HWND hwnd, DWORD dwFlags)
|
static HRESULT WINAPI fake_did_SetCooperativeLevel(IDirectInputDeviceA* This, HWND hwnd, DWORD dwFlags)
|
||||||
{
|
{
|
||||||
TRACE("DirectInput SetCooperativeLevel\n");
|
TRACE("DirectInput SetCooperativeLevel(This=%p, hwnd=%p, dwFlags=0x%08X)\n", This, hwnd, dwFlags);
|
||||||
|
|
||||||
if (This == g_mouse_device && g_ddraw && (dwFlags & DISCL_EXCLUSIVE))
|
if (This == g_mouse_device && g_ddraw && (dwFlags & DISCL_EXCLUSIVE))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user