mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-25 01:57:47 +01:00
log function call
This commit is contained in:
parent
58f8f89c66
commit
0905cb8059
@ -1351,6 +1351,8 @@ HFONT WINAPI fake_CreateFontA(
|
|||||||
|
|
||||||
UINT WINAPI fake_GetSystemPaletteEntries(HDC hdc, UINT iStart, UINT cEntries, LPPALETTEENTRY pPalEntries)
|
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.ref && g_ddraw.bpp == 8 && pPalEntries && WindowFromDC(hdc) == g_ddraw.hwnd)
|
||||||
{
|
{
|
||||||
if (g_ddraw.primary && g_ddraw.primary->palette)
|
if (g_ddraw.primary && g_ddraw.primary->palette)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user