Sort video modes by width then height
authorPatrice Mandin
Sat, 13 Nov 2004 09:57:20 +0000
changeset 97215a7d0c44e73
parent 971 96671ebc50a4
child 973 795ac5fbe260
Sort video modes by width then height
src/video/xbios/SDL_xbios.c
     1.1 --- a/src/video/xbios/SDL_xbios.c	Fri Nov 12 23:22:08 2004 +0000
     1.2 +++ b/src/video/xbios/SDL_xbios.c	Sat Nov 13 09:57:20 2004 +0000
     1.3 @@ -93,21 +93,21 @@
     1.4  static int xbiosnummodes_f30rvb=16;
     1.5  static xbiosmode_t xbiosmodelist_f30rvb[]={
     1.6  	{BPS16|COL80|OVERSCAN|VERTFLAG,768,480,16,SDL_FALSE},
     1.7 +	{BPS16|COL80|OVERSCAN,768,240,16,SDL_FALSE},
     1.8 +	{BPS16|COL80|VERTFLAG,640,400,16,SDL_FALSE},
     1.9 +	{BPS16|COL80,640,200,16,SDL_FALSE},
    1.10  	{BPS16|OVERSCAN|VERTFLAG,384,480,16,SDL_FALSE},
    1.11 -	{BPS16|COL80|VERTFLAG,640,400,16,SDL_FALSE},
    1.12 +	{BPS16|OVERSCAN,384,240,16,SDL_FALSE},
    1.13  	{BPS16|VERTFLAG,320,400,16,SDL_FALSE},
    1.14 -	{BPS16|COL80|OVERSCAN,768,240,16,SDL_FALSE},
    1.15 -	{BPS16|OVERSCAN,384,240,16,SDL_FALSE},
    1.16 -	{BPS16|COL80,640,200,16,SDL_FALSE},
    1.17  	{BPS16,320,200,16,SDL_FALSE},
    1.18  
    1.19  	{BPS8|COL80|OVERSCAN|VERTFLAG,768,480,8,SDL_FALSE},
    1.20 +	{BPS8|COL80|OVERSCAN,768,240,8,SDL_FALSE},
    1.21 +	{BPS8|COL80|VERTFLAG,640,400,8,SDL_FALSE},
    1.22 +	{BPS8|COL80,640,200,8,SDL_FALSE},
    1.23  	{BPS8|OVERSCAN|VERTFLAG,384,480,8,SDL_FALSE},
    1.24 -	{BPS8|COL80|VERTFLAG,640,400,8,SDL_FALSE},
    1.25 +	{BPS8|OVERSCAN,384,240,8,SDL_FALSE},
    1.26  	{BPS8|VERTFLAG,320,400,8,SDL_FALSE},
    1.27 -	{BPS8|COL80|OVERSCAN,768,240,8,SDL_FALSE},
    1.28 -	{BPS8|OVERSCAN,384,240,8,SDL_FALSE},
    1.29 -	{BPS8|COL80,640,200,8,SDL_FALSE},
    1.30  	{BPS8,320,200,8,SDL_FALSE}
    1.31  };
    1.32  
    1.33 @@ -118,8 +118,8 @@
    1.34  	{BPS16|VERTFLAG,320,240,16,SDL_FALSE},
    1.35  
    1.36  	{BPS8|COL80,640,480,8,SDL_FALSE},	
    1.37 +	{BPS8|COL80|VERTFLAG,640,240,8,SDL_FALSE},
    1.38  	{BPS8,320,480,8,SDL_FALSE},
    1.39 -	{BPS8|COL80|VERTFLAG,640,240,8,SDL_FALSE},
    1.40  	{BPS8|VERTFLAG,320,240,8,SDL_FALSE}
    1.41  };
    1.42