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

add debug logging

This commit is contained in:
FunkyFr3sh 2024-12-15 01:17:53 +01:00
parent 0905cb8059
commit 091a8c1d6e

View File

@ -1355,6 +1355,8 @@ UINT WINAPI fake_GetSystemPaletteEntries(HDC hdc, UINT iStart, UINT cEntries, LP
if (g_ddraw.ref && g_ddraw.bpp == 8 && pPalEntries && WindowFromDC(hdc) == g_ddraw.hwnd)
{
TRACE(" WindowFromDC(hdc) == g_ddraw.hwnd\n");
if (g_ddraw.primary && g_ddraw.primary->palette)
{
ddp_GetEntries(g_ddraw.primary->palette, 0, iStart, cEntries, pPalEntries);