#231 add hack for stronghold
This commit is contained in:
parent
b591827f12
commit
b54285d129
3 changed files with 14 additions and 4 deletions
5
src/dd.c
5
src/dd.c
|
@ -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 },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue