mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
allow to use small resolution list for all games
This commit is contained in:
parent
7abd1f743c
commit
6eeb53e546
4
src/dd.c
4
src/dd.c
@ -70,7 +70,7 @@ HRESULT dd_EnumDisplayModes(
|
||||
}
|
||||
}
|
||||
|
||||
if (g_ddraw->bpp || g_ddraw->resolutions == RESLIST_FULL)
|
||||
if ((g_ddraw->bpp && g_ddraw->resolutions == RESLIST_NORMAL) || g_ddraw->resolutions == RESLIST_FULL)
|
||||
{
|
||||
TRACE(" g_ddraw->bpp=%u\n", g_ddraw->bpp);
|
||||
|
||||
@ -220,7 +220,7 @@ HRESULT dd_EnumDisplayModes(
|
||||
}
|
||||
}
|
||||
|
||||
if (!g_ddraw->bpp || g_ddraw->resolutions == RESLIST_FULL)
|
||||
if (!g_ddraw->bpp || g_ddraw->resolutions != RESLIST_NORMAL)
|
||||
{
|
||||
for (i = 0; i < sizeof(resolutions) / sizeof(resolutions[0]); i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user