use real_ function

This commit is contained in:
FunkyFr3sh 2023-06-03 00:56:18 +02:00
parent b42bc232c8
commit 9cf4881aa2
2 changed files with 2 additions and 2 deletions

View file

@ -712,7 +712,7 @@ 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);
real_PeekMessageA(&msg, g_ddraw->hwnd, 0, 0, PM_NOREMOVE);
if (!border)
{