Forbid resolutions < 320x200 (issue 126)

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@658 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud 2009-02-26 00:54:47 +00:00
parent 55291aa3be
commit 210265f70b

2
init.c
View File

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