# HG changeset patch # User Patrice Mandin # Date 1100339840 0 # Node ID 15a7d0c44e7331e36ff7f24e103f559dbb8fe04a # Parent 96671ebc50a478ae4c07b695db407d19707b72be Sort video modes by width then height diff -r 96671ebc50a4 -r 15a7d0c44e73 src/video/xbios/SDL_xbios.c --- a/src/video/xbios/SDL_xbios.c Fri Nov 12 23:22:08 2004 +0000 +++ b/src/video/xbios/SDL_xbios.c Sat Nov 13 09:57:20 2004 +0000 @@ -93,21 +93,21 @@ static int xbiosnummodes_f30rvb=16; static xbiosmode_t xbiosmodelist_f30rvb[]={ {BPS16|COL80|OVERSCAN|VERTFLAG,768,480,16,SDL_FALSE}, + {BPS16|COL80|OVERSCAN,768,240,16,SDL_FALSE}, + {BPS16|COL80|VERTFLAG,640,400,16,SDL_FALSE}, + {BPS16|COL80,640,200,16,SDL_FALSE}, {BPS16|OVERSCAN|VERTFLAG,384,480,16,SDL_FALSE}, - {BPS16|COL80|VERTFLAG,640,400,16,SDL_FALSE}, + {BPS16|OVERSCAN,384,240,16,SDL_FALSE}, {BPS16|VERTFLAG,320,400,16,SDL_FALSE}, - {BPS16|COL80|OVERSCAN,768,240,16,SDL_FALSE}, - {BPS16|OVERSCAN,384,240,16,SDL_FALSE}, - {BPS16|COL80,640,200,16,SDL_FALSE}, {BPS16,320,200,16,SDL_FALSE}, {BPS8|COL80|OVERSCAN|VERTFLAG,768,480,8,SDL_FALSE}, + {BPS8|COL80|OVERSCAN,768,240,8,SDL_FALSE}, + {BPS8|COL80|VERTFLAG,640,400,8,SDL_FALSE}, + {BPS8|COL80,640,200,8,SDL_FALSE}, {BPS8|OVERSCAN|VERTFLAG,384,480,8,SDL_FALSE}, - {BPS8|COL80|VERTFLAG,640,400,8,SDL_FALSE}, + {BPS8|OVERSCAN,384,240,8,SDL_FALSE}, {BPS8|VERTFLAG,320,400,8,SDL_FALSE}, - {BPS8|COL80|OVERSCAN,768,240,8,SDL_FALSE}, - {BPS8|OVERSCAN,384,240,8,SDL_FALSE}, - {BPS8|COL80,640,200,8,SDL_FALSE}, {BPS8,320,200,8,SDL_FALSE} }; @@ -118,8 +118,8 @@ {BPS16|VERTFLAG,320,240,16,SDL_FALSE}, {BPS8|COL80,640,480,8,SDL_FALSE}, + {BPS8|COL80|VERTFLAG,640,240,8,SDL_FALSE}, {BPS8,320,480,8,SDL_FALSE}, - {BPS8|COL80|VERTFLAG,640,240,8,SDL_FALSE}, {BPS8|VERTFLAG,320,240,8,SDL_FALSE} };