mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-25 01:57:47 +01:00
fix for last commit
This commit is contained in:
parent
82d3ec46a3
commit
06aadb709f
@ -1357,7 +1357,6 @@ UINT WINAPI fake_GetSystemPaletteEntries(HDC hdc, UINT iStart, UINT cEntries, LP
|
|||||||
{
|
{
|
||||||
TRACE("ddp_GetEntries test\n");
|
TRACE("ddp_GetEntries test\n");
|
||||||
ddp_GetEntries(g_ddraw.primary->palette, 0, iStart, cEntries, pPalEntries);
|
ddp_GetEntries(g_ddraw.primary->palette, 0, iStart, cEntries, pPalEntries);
|
||||||
return cEntries - iStart;
|
|
||||||
}
|
}
|
||||||
else
|
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;
|
pPalEntries[x].peFlags = g_ddp_me_palette[i].peFlags;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return cEntries - iStart;
|
||||||
}
|
}
|
||||||
|
|
||||||
return real_GetSystemPaletteEntries(hdc, iStart, cEntries, pPalEntries);
|
return real_GetSystemPaletteEntries(hdc, iStart, cEntries, pPalEntries);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user