use inline functions for WINE checks
This commit is contained in:
parent
6626480358
commit
e18eb931eb
9 changed files with 36 additions and 44 deletions
|
@ -958,7 +958,7 @@ HRESULT dds_Lock(
|
|||
|
||||
dbg_dump_dds_lock_flags(dwFlags);
|
||||
|
||||
if (g_ddraw.ref && g_config.fixnotresponding && !verhelp_is_wine())
|
||||
if (g_ddraw.ref && g_config.fixnotresponding && !IsWine())
|
||||
{
|
||||
MSG msg; /* workaround for "Not Responding" window problem */
|
||||
real_PeekMessageA(&msg, g_ddraw.hwnd, 0, 0, PM_NOREMOVE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue