Forbid resolutions < 320x200 (issue 126)
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@658 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
55291aa3be
commit
210265f70b
2
init.c
2
init.c
@ -1745,7 +1745,7 @@ void Definition_des_modes_video(void)
|
||||
// Mode déja prévu: ok
|
||||
break;
|
||||
}
|
||||
if (Indice2 >= Nb_modes_video)
|
||||
if (Indice2 >= Nb_modes_video && Modes[Indice]->w>=320 && Modes[Indice]->h>=200)
|
||||
{
|
||||
// Nouveau mode à ajouter à la liste
|
||||
Definir_mode_video(Modes[Indice]->w,Modes[Indice]->h,0, 1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user