TV_BITS
target->flags &= ~TV_BITS;
if ((target->flags & TV_BITS) && !si->ps.secondary_head)
if (!(target2.flags & TV_BITS))
if ((target2.flags & TV_BITS) && (si->ps.card_type >= G450))
if (!(target2.flags & TV_BITS)) result = g400_crtc2_set_timing(target2);
if (si->ps.tvout && (target2.flags & TV_BITS)) maventv_init(target2);
if (!si->ps.secondary_head && si->ps.tvout && (target.flags & TV_BITS))
if (!si->ps.secondary_head && si->ps.tvout && (target.flags & TV_BITS))
if ((si->dm.flags & TV_BITS) && (si->ps.card_type > G400MAX))
if ((si->dm.flags & TV_BITS) && (si->ps.card_type > G400MAX))
if ((si->dm.flags & TV_BITS) && (si->ps.card_type > G400MAX))
if (si->dm.flags & TV_BITS) gx00_maven_dpms(true, true, true);
if (si->dm.flags & TV_BITS) gx00_maven_dpms(false, false, true);
if (si->dm.flags & TV_BITS) gx00_maven_dpms(false, true, false);
if (si->dm.flags & TV_BITS) gx00_maven_dpms(false, false, false);
if ((!(target.flags & TV_BITS)) || (si->ps.card_type <= G400MAX))
if ((si->ps.secondary_head) && (!(target.flags & TV_BITS)))
if (!(si->dm.flags & TV_BITS))
if ((tv_target.flags & TV_BITS) == TV_PAL)
if ((tv_target.flags & TV_BITS) == TV_PAL)
if ((target.flags & TV_BITS) == TV_PAL)
if ((tv_target.timing.h_display < 704) && ((tv_target.flags & TV_BITS) == TV_PAL))
if ((tv_target.flags & TV_BITS) == TV_PAL)
(((tv_target.flags & TV_BITS) << (14 - 9)) | tv_target.timing.h_display);
if ((tv_target.flags & TV_BITS) == TV_PAL)
if ((tv_target.flags & TV_BITS) == TV_PAL)
if ((tv_target.timing.h_display >= 1000) && (((tv_target.flags & TV_BITS) != TV_PAL)))
target->flags &= ~TV_BITS;
|| !(BT_check_tvmode(*target) && (target->flags & TV_BITS))) {
target->flags &= ~TV_BITS;
if (target->flags & TV_BITS) {
if (si->ps.tvout && (target2.flags & TV_BITS)) BT_setmode(target2);
if (si->ps.tvout && (target.flags & TV_BITS)) BT_setmode(target);
if (si->dm.flags & TV_BITS)
if (si->dm.flags & TV_BITS)
if ((0) && (target2.flags & TV_BITS))
target.flags &= ~TV_BITS;//still needed for some routines...
target2.flags &= ~TV_BITS;
if (((target.flags & TV_BITS) == TV_PAL) && (!(target.flags & TV_VIDEO)))
if ((target.flags & TV_BITS) == TV_NTSC)
if (((target.flags & TV_BITS) == TV_PAL) && (target.flags & TV_VIDEO))
if (((target.flags & TV_BITS) == TV_PAL) && (!(target.flags & TV_VIDEO)))
if (((target.flags & TV_BITS) == TV_NTSC) && (!(target.flags & TV_VIDEO)))
if (((target.flags & TV_BITS) == TV_NTSC) && (target.flags & TV_VIDEO))
if (((target.flags & TV_BITS) == TV_PAL) && (target.flags & TV_VIDEO))
target.flags &= ~TV_BITS;
if ((tv_target.flags & TV_BITS) == TV_PAL)
if ((target.flags & TV_BITS) == TV_PAL)
if ((tv_target.flags & TV_BITS) == TV_PAL)
target.flags &= ~TV_BITS;
if ((tv_target.flags & TV_BITS) == TV_PAL)
if ((target.flags & TV_BITS) == TV_PAL)
if ((tv_target.flags & TV_BITS) == TV_PAL)