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

@ -711,8 +711,12 @@ HRESULT dd_SetDisplayMode(DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwFl
if (g_ddraw->windowed)
{
MSG msg; /* workaround for "Not Responding" window problem in cnc games */
PeekMessage(&msg, g_ddraw->hwnd, 0, 0, PM_NOREMOVE);
/* workaround for "Not Responding" window problem in cnc games */
if (GetCurrentThreadId() == g_ddraw->gui_thread_id)
{
MSG msg;
PeekMessage(&msg, g_ddraw->hwnd, 0, 0, PM_NOREMOVE);
}
if (!border)
{