#247 fix color key issues in Kohan: Immortal Sovereigns
This commit is contained in:
parent
a95003fbc2
commit
c17db0349a
2 changed files with 8 additions and 2 deletions
2
src/dd.c
2
src/dd.c
|
@ -653,7 +653,7 @@ HRESULT dd_SetDisplayMode(DWORD dwWidth, DWORD dwHeight, DWORD dwBPP, DWORD dwFl
|
|||
{
|
||||
g_ddraw->render.mode.dmFields |= DM_DISPLAYFREQUENCY;
|
||||
g_ddraw->render.mode.dmDisplayFrequency = g_config.refresh_rate;
|
||||
|
||||
|
||||
if (ChangeDisplaySettings(&g_ddraw->render.mode, CDS_TEST) != DISP_CHANGE_SUCCESSFUL)
|
||||
{
|
||||
g_config.refresh_rate = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue