fixed PAL VCD modesetting validation: actual resolution is 768x576 for 800x600 overscanning mode. Testing with cmd line app 'vidscreen' BTW (matrox driver site, 'tools'). Note, still got to fix NTSC DVD modesetting: aspect check needs to be disabled for TVout..

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14292 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen
2005-10-02 08:27:07 +00:00
parent efe9c7a607
commit c5fe5f2d06
@@ -1278,26 +1278,23 @@ uint8 BT_check_tvmode(display_mode target)
switch (mode)
{
case (640 | (480 << 16)):
if ((target.flags & TV_BITS) == TV_PAL)
{
if (!(target.flags & TV_VIDEO)) status = PAL640;
}
if (((target.flags & TV_BITS) == TV_PAL) && (!(target.flags & TV_VIDEO)))
status = PAL640;
if ((target.flags & TV_BITS) == TV_NTSC)
{
if (!(target.flags & TV_VIDEO)) status = NTSC640;
else status = NTSC640_OS;
}
break;
case (768 | (576 << 16)):
if (((target.flags & TV_BITS) == TV_PAL) && (target.flags & TV_VIDEO))
status = PAL800_OS;
break;
case (800 | (600 << 16)):
if ((target.flags & TV_BITS) == TV_PAL)
{
if (!(target.flags & TV_VIDEO)) status = PAL800;
else status = PAL800_OS;
}
if ((target.flags & TV_BITS) == TV_NTSC)
{
if (!(target.flags & TV_VIDEO)) status = NTSC800;
}
if (((target.flags & TV_BITS) == TV_PAL) && (!(target.flags & TV_VIDEO)))
status = PAL800;
if (((target.flags & TV_BITS) == TV_NTSC) && (!(target.flags & TV_VIDEO)))
status = NTSC800;
break;
case (720 | (480 << 16)):
if (((target.flags & TV_BITS) == TV_NTSC) && (target.flags & TV_VIDEO))