1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-14 22:03:27 +01:00

log function call

This commit is contained in:
FunkyFr3sh 2024-12-15 01:00:09 +01:00
parent 58f8f89c66
commit 0905cb8059

View File

@ -1351,6 +1351,8 @@ HFONT WINAPI fake_CreateFontA(
UINT WINAPI fake_GetSystemPaletteEntries(HDC hdc, UINT iStart, UINT cEntries, LPPALETTEENTRY pPalEntries)
{
TRACE("%s [%p]\n", __FUNCTION__, _ReturnAddress());
if (g_ddraw.ref && g_ddraw.bpp == 8 && pPalEntries && WindowFromDC(hdc) == g_ddraw.hwnd)
{
if (g_ddraw.primary && g_ddraw.primary->palette)