Revert "always enable fixnotresponding patch"

This reverts commit a80ffeb7aa.
This commit is contained in:
FunkyFr3sh 2023-01-17 04:46:24 +01:00
parent 3333539e34
commit 56488f9dac
4 changed files with 8 additions and 9 deletions

View file

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