Skip to content

Commit

Permalink
log args as well
Browse files Browse the repository at this point in the history
  • Loading branch information
FunkyFr3sh committed Dec 15, 2024
1 parent 091a8c1 commit 6c67db5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/winapi_hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 6c67db5

Please sign in to comment.