1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

fix for windowed_hack

This commit is contained in:
FunkyFr3sh 2024-08-30 12:37:06 +02:00
parent 18f6b1e5ea
commit f64913b5e6

View File

@ -339,7 +339,7 @@ HRESULT dd_EnumDisplayModes(
}
}
if (!g_ddraw.bpp || g_config.resolutions != RESLIST_NORMAL)
if (!g_ddraw.bpp || g_config.resolutions != RESLIST_NORMAL || g_ddraw.windowed_hack)
{
for (i = 0; i < sizeof(resolutions) / sizeof(resolutions[0]); i++)
{