1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

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)
{

View File

@ -943,7 +943,7 @@ HRESULT dds_Lock(
if (g_ddraw && g_ddraw->fixnotresponding)
{
MSG msg; /* workaround for "Not Responding" window problem */
PeekMessage(&msg, g_ddraw->hwnd, 0, 0, PM_NOREMOVE);
real_PeekMessageA(&msg, g_ddraw->hwnd, 0, 0, PM_NOREMOVE);
}
HRESULT ret = dds_GetSurfaceDesc(This, lpDDSurfaceDesc);