A while ago, I added new extended video modes for Supervidel in SDL. However it seems it's not totally correct, so I need to know how to fix it. Currently, 0x4000 is used for all modes, but it appears it's not needed for modes that are 640x480 or less (i.e. 640x240, 320x480 and 320x240). So should I remove it? Currently, the video mode code list is this one (I don't list resolutions 800x600 or higher):
Code: Select all
{0x403D,640,480,32,0}, /* 32 bits modes */
{0x413D,640,240,32,0},
{0x4035,320,480,32,0},
{0x4135,320,240,32,0},
{0x403C,640,480,16,0}, /* 16 bits modes */
{0x413C,640,240,16,0},
{0x4034,320,480,16,0},
{0x4134,320,240,16,0},
{0x403F,640,480,8,0}, /* 8 bits chunky modes */
{0x411F,640,240,8,0},
{0x4017,320,480,8,0},
{0x4137,320,240,8,0}
I expect the extension flag should be needed for 32 bits mode.
Falcon support 16 bits mode, so maybe it's also not needed there?
So is this list correct for all these listed modes?