diff --git a/VersionNum b/VersionNum index 1eaa9123465c3508f4d70736adb700e547961156..5b92439c053ce27af6fea018551741429e9a5ff6 100644 --- a/VersionNum +++ b/VersionNum @@ -1,23 +1,21 @@ -/* (0.72) +/* (0.73) * * 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_Date_CMHG 29 Nov 2018 +#define Module_Date_CMHG 02 Jul 2019 -#define Module_MajorVersion "0.72" -#define Module_Version 72 +#define Module_MajorVersion "0.73" +#define Module_Version 73 #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_ComponentPath "apache/RiscOS/Sources/Video/UserI/ScrModes" -#define Module_FullVersion "0.72" -#define Module_HelpVersion "0.72 (29 Nov 2018)" -#define Module_LibraryVersionInfo "0:72" +#define Module_FullVersion "0.73" +#define Module_HelpVersion "0.73 (02 Jul 2019)" +#define Module_LibraryVersionInfo "0:73" diff --git a/c/ScrModes b/c/ScrModes index 5a27e0c0bd4b2942dc881e894c87cb6517c3ff66..d67752bcf9372ce7210290f2800a08d0cc795e17 100644 --- a/c/ScrModes +++ b/c/ScrModes @@ -631,6 +631,10 @@ static int build_a_vidclist(VIDCListRef vp, ModeDescriptionRef mp, const PixelFo } vp->pixelrate = mp->definition.timings.pixel_khz; vp->syncpol = mp->definition.timings.syncpol; + if (mp->definition.timings.interlaced) + { + vp->syncpol |= SyncPol_Interlace | SyncPol_InterlaceFields; + } /* Only specify ModeFlags & NColour if necessary? */ if (!is_old_format(pf)) @@ -680,13 +684,6 @@ static int build_a_vidclist(VIDCListRef vp, ModeDescriptionRef mp, const PixelFo ctrllistpos++; } - if (mp->definition.timings.interlaced) - { - vp->vcparam[ctrllistpos].index = ControlList_Interlaced; - vp->vcparam[ctrllistpos].value = 1; - ctrllistpos++; - } - if (current_monitor->output_format != -1) { vp->vcparam[ctrllistpos].index = ControlList_OutputFormat;