From 3ceddd151783a4edfc4c4697b489d0d1ec271253 Mon Sep 17 00:00:00 2001 From: FunkyFr3sh Date: Mon, 6 Mar 2023 03:55:10 +0100 Subject: [PATCH] tweak peekmessage hook --- src/winapi_hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/winapi_hooks.c b/src/winapi_hooks.c index ea2082a..205eba3 100644 --- a/src/winapi_hooks.c +++ b/src/winapi_hooks.c @@ -588,7 +588,7 @@ BOOL WINAPI fake_PeekMessageA(LPMSG lpMsg, HWND hWnd, UINT wMsgFilterMin, UINT w InterlockedExchange((LONG*)&g_ddraw->cursor.y, y); mouse_lock(); - return FALSE; + //return FALSE; } /* fall through for lParam */ }