always enable fixnotresponding patch

This commit is contained in:
FunkyFr3sh 2022-10-22 02:52:58 +02:00
parent 8566355e0d
commit a80ffeb7aa
4 changed files with 9 additions and 8 deletions

View file

@ -934,9 +934,10 @@ HRESULT dds_Lock(
dbg_dump_dds_lock_flags(dwFlags);
if (g_ddraw && g_ddraw->fixnotresponding)
/* workaround for "Not Responding" window problem */
if (g_ddraw && g_ddraw->windowed && GetCurrentThreadId() == g_ddraw->gui_thread_id)
{
MSG msg; /* workaround for "Not Responding" window problem */
MSG msg;
PeekMessage(&msg, g_ddraw->hwnd, 0, 0, PM_NOREMOVE);
}