#247 fix color key issues in Kohan: Immortal Sovereigns

This commit is contained in:
FunkyFr3sh 2023-10-04 19:51:53 +02:00
parent a95003fbc2
commit c17db0349a
2 changed files with 8 additions and 2 deletions

View file

@ -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;