use inline functions for WINE checks

This commit is contained in:
FunkyFr3sh 2024-05-06 02:00:58 +02:00
parent 6626480358
commit e18eb931eb
9 changed files with 36 additions and 44 deletions

View file

@ -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);