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

log args as well

This commit is contained in:
FunkyFr3sh 2024-12-15 01:20:12 +01:00
parent 091a8c1d6e
commit 6c67db5db1

View File

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