Commit a7cd20c1 authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Move former ControlList_Interlaced item into SyncPol flags

Requires Kernel-6_21.

Version 0.73. Tagged as 'ScrModes-0_73'
parent b613fdbb
/* (0.72) /* (0.73)
* *
* This file is automatically maintained by srccommit, do not edit manually. * This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
* *
*/ */
#define Module_MajorVersion_CMHG 0.72 #define Module_MajorVersion_CMHG 0.73
#define Module_MinorVersion_CMHG #define Module_MinorVersion_CMHG
#define Module_Date_CMHG 29 Nov 2018 #define Module_Date_CMHG 02 Jul 2019
#define Module_MajorVersion "0.72" #define Module_MajorVersion "0.73"
#define Module_Version 72 #define Module_Version 73
#define Module_MinorVersion "" #define Module_MinorVersion ""
#define Module_Date "29 Nov 2018" #define Module_Date "02 Jul 2019"
#define Module_ApplicationDate "29-Nov-18" #define Module_ApplicationDate "02-Jul-19"
#define Module_ComponentName "ScrModes" #define Module_ComponentName "ScrModes"
#define Module_ComponentPath "apache/RiscOS/Sources/Video/UserI/ScrModes"
#define Module_FullVersion "0.72" #define Module_FullVersion "0.73"
#define Module_HelpVersion "0.72 (29 Nov 2018)" #define Module_HelpVersion "0.73 (02 Jul 2019)"
#define Module_LibraryVersionInfo "0:72" #define Module_LibraryVersionInfo "0:73"
...@@ -631,6 +631,10 @@ static int build_a_vidclist(VIDCListRef vp, ModeDescriptionRef mp, const PixelFo ...@@ -631,6 +631,10 @@ static int build_a_vidclist(VIDCListRef vp, ModeDescriptionRef mp, const PixelFo
} }
vp->pixelrate = mp->definition.timings.pixel_khz; vp->pixelrate = mp->definition.timings.pixel_khz;
vp->syncpol = mp->definition.timings.syncpol; vp->syncpol = mp->definition.timings.syncpol;
if (mp->definition.timings.interlaced)
{
vp->syncpol |= SyncPol_Interlace | SyncPol_InterlaceFields;
}
/* Only specify ModeFlags & NColour if necessary? */ /* Only specify ModeFlags & NColour if necessary? */
if (!is_old_format(pf)) if (!is_old_format(pf))
...@@ -680,13 +684,6 @@ static int build_a_vidclist(VIDCListRef vp, ModeDescriptionRef mp, const PixelFo ...@@ -680,13 +684,6 @@ static int build_a_vidclist(VIDCListRef vp, ModeDescriptionRef mp, const PixelFo
ctrllistpos++; ctrllistpos++;
} }
if (mp->definition.timings.interlaced)
{
vp->vcparam[ctrllistpos].index = ControlList_Interlaced;
vp->vcparam[ctrllistpos].value = 1;
ctrllistpos++;
}
if (current_monitor->output_format != -1) if (current_monitor->output_format != -1)
{ {
vp->vcparam[ctrllistpos].index = ControlList_OutputFormat; vp->vcparam[ctrllistpos].index = ControlList_OutputFormat;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment