adjust stronghold presets
This commit is contained in:
parent
845360b021
commit
5ff806a950
2 changed files with 8 additions and 0 deletions
|
@ -946,16 +946,19 @@ static void cfg_create_ini()
|
|||
"\n"
|
||||
"; Stronghold Crusader HD\n"
|
||||
"[Stronghold Crusader]\n"
|
||||
"resolutions=2\n"
|
||||
"stronghold_hack=true\n"
|
||||
"adjmouse=true\n"
|
||||
"\n"
|
||||
"; Stronghold Crusader Extreme HD\n"
|
||||
"[Stronghold_Crusader_Extreme]\n"
|
||||
"resolutions=2\n"
|
||||
"stronghold_hack=true\n"
|
||||
"adjmouse=true\n"
|
||||
"\n"
|
||||
"; Stronghold HD\n"
|
||||
"[Stronghold]\n"
|
||||
"resolutions=2\n"
|
||||
"stronghold_hack=true\n"
|
||||
"adjmouse=true\n"
|
||||
"\n"
|
||||
|
|
5
src/dd.c
5
src/dd.c
|
@ -129,6 +129,11 @@ HRESULT dd_EnumDisplayModes(
|
|||
flags == m.dmDisplayFlags &&
|
||||
fixed_output == m.dmDisplayFixedOutput)
|
||||
{
|
||||
if (g_ddraw->stronghold_hack && m.dmPelsWidth && (m.dmPelsWidth % 8))
|
||||
{
|
||||
while (--m.dmPelsWidth % 8);
|
||||
}
|
||||
|
||||
TRACE(
|
||||
" %u: %ux%u@%u %u bpp\n",
|
||||
i,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue