always enable fixnotresponding patch
This commit is contained in:
parent
8566355e0d
commit
a80ffeb7aa
4 changed files with 9 additions and 8 deletions
8
src/dd.c
8
src/dd.c
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue