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

fix for last commit

This commit is contained in:
FunkyFr3sh 2024-12-15 00:56:37 +01:00
parent 82d3ec46a3
commit 06aadb709f

View File

@ -1357,7 +1357,6 @@ UINT WINAPI fake_GetSystemPaletteEntries(HDC hdc, UINT iStart, UINT cEntries, LP
{
TRACE("ddp_GetEntries test\n");
ddp_GetEntries(g_ddraw.primary->palette, 0, iStart, cEntries, pPalEntries);
return cEntries - iStart;
}
else
{
@ -1369,6 +1368,8 @@ UINT WINAPI fake_GetSystemPaletteEntries(HDC hdc, UINT iStart, UINT cEntries, LP
pPalEntries[x].peFlags = g_ddp_me_palette[i].peFlags;
}
}
return cEntries - iStart;
}
return real_GetSystemPaletteEntries(hdc, iStart, cEntries, pPalEntries);