#231 add hack for stronghold

This commit is contained in:
FunkyFr3sh 2023-08-07 10:15:52 +02:00
parent b591827f12
commit b54285d129
3 changed files with 14 additions and 4 deletions

View file

@ -44,6 +44,11 @@ HRESULT dd_EnumDisplayModes(
max_h = reg_m.dmPelsHeight;
}
if (g_ddraw->stronghold_hack && max_w && (max_w % 8))
{
while (--max_w % 8);
}
SIZE resolutions[] =
{
{ 320, 200 },