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

fix return value of GetSystemPaletteEntries

This commit is contained in:
FunkyFr3sh 2024-12-16 22:33:35 +01:00
parent f9b47a9f0e
commit 747e1ec3a7

View File

@ -1417,7 +1417,7 @@ UINT WINAPI fake_GetSystemPaletteEntries(HDC hdc, UINT iStart, UINT cEntries, LP
}
}
return cEntries - iStart;
return cEntries;
}
return real_GetSystemPaletteEntries(hdc, iStart, cEntries, pPalEntries);