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:
parent
b42bc232c8
commit
9cf4881aa2
2
src/dd.c
2
src/dd.c
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user