make sure we don't reset last_msg_pull_tick

This commit is contained in:
FunkyFr3sh 2024-09-18 21:52:06 +02:00
parent 7fe9f3f2fa
commit 66e8d1676f

View file

@ -1031,7 +1031,8 @@ HRESULT dd_SetDisplayMode(DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwFl
if (g_config.remove_menu && GetMenu(g_ddraw.hwnd))
SetMenu(g_ddraw.hwnd, NULL);
if (g_ddraw.last_msg_pull_tick &&
if (!g_config.fix_not_responding &&
g_ddraw.last_msg_pull_tick &&
g_ddraw.last_msg_pull_tick + 1000 < timeGetTime() &&
GetCurrentThreadId() == g_ddraw.gui_thread_id &&
!IsWine())