extend versionhelpers

This commit is contained in:
FunkyFr3sh 2024-05-06 01:23:59 +02:00
parent cc97cc0761
commit 6626480358
13 changed files with 140 additions and 53 deletions

View file

@ -11,6 +11,7 @@
#include "utils.h"
#include "blt.h"
#include "config.h"
#include "versionhelpers.h"
LONG g_dds_gdi_handles;
@ -957,7 +958,7 @@ HRESULT dds_Lock(
dbg_dump_dds_lock_flags(dwFlags);
if (g_ddraw.ref && g_config.fixnotresponding && !g_config.is_wine)
if (g_ddraw.ref && g_config.fixnotresponding && !verhelp_is_wine())
{
MSG msg; /* workaround for "Not Responding" window problem */
real_PeekMessageA(&msg, g_ddraw.hwnd, 0, 0, PM_NOREMOVE);