rem: if ((target.flags & TV_BITS) == TV_PAL) { if (!(target.flags & TV_VIDEO)) status = PAL640; }
add: if (((target.flags & TV_BITS) == TV_PAL) && (!(target.flags & TV_VIDEO))) status = PAL640;
context: uint8 BT_check_tvmode(display_mode target){	uint8 status = NOT_SUPPORTED;	uint32 mode = ((target.timing.h_display) | ((target.timing.v_display) << 16));	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_NTSC)		{			if (!(target.flags & TV_VIDEO)) status = NTSC640;			else status = NTSC640_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;		}		break;	case (720 | (480 << 16)):		if (((target.flags & TV_BITS) == TV_NTSC) && (target.flags & TV_VIDEO))			status = NTSC720;		break;	case (720 | (576 << 16)):		if (((target.flags & TV_BITS) == TV_PAL) && (target.flags & TV_VIDEO))			status = PAL720;		break;	}	return status;}//end BT_check_tvmode.