From 2ee62a46740855f8665d3250e94f23cde1594680 Mon Sep 17 00:00:00 2001
From: FunkyFr3sh <cc.red.alert.1@googlemail.com>
Date: Fri, 28 Jul 2023 08:00:09 +0200
Subject: [PATCH] improve logs

---
 src/directinput.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/directinput.c b/src/directinput.c
index e320828..86be466 100644
--- a/src/directinput.c
+++ b/src/directinput.c
@@ -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)
 {
-    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))
     {