From 596ebe5dc0dc2450946cd1e4ab09afec94de77c1 Mon Sep 17 00:00:00 2001 From: Brendan Saricks Date: Thu, 16 Oct 2025 01:28:31 -0500 Subject: [PATCH] video: Change composite_sync default value to 1 * Change default composite_sync value to 1 From a troubleshooting perspective, composite_sync=1 seems like a more common gotcha because more people are using consumer CRTs than monitors. I'm wondering if it makes sense to make this change as it covers more use cases. * Update cfg.cpp --- MiSTer.ini | 3 ++- cfg.cpp | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MiSTer.ini b/MiSTer.ini index 7f6ea88..cc98465 100644 --- a/MiSTer.ini +++ b/MiSTer.ini @@ -5,7 +5,7 @@ forced_scandoubler=0 ; set to 1 to run scandoubler on VGA output always (depen ;ypbpr=0 ; set to 1 for YPbPr on VGA output. (obsolete. see vga_mode) vga_mode=rgb ; supported modes: rgb, ypbpr, svideo, cvbs. rgb is default. ntsc_mode=0 ; Only for S-Video and CVBS vga_mode. 0 - normal NTSC, 1 - PAL-60, 2 - PAL-M. -composite_sync=0 ; set to 1 for composite sync on HSync signal of VGA output. +composite_sync=1 ; set to 1 for composite sync on HSync signal of VGA output. vga_scaler=0 ; set to 1 to connect VGA to scaler output. hdmi_audio_96k=0 ; set to 1 for 96khz/16bit HDMI audio (48khz/16bit otherwise) keyrah_mode=0x18d80002 ; VIDPID of keyrah for special code translation (0x23418037 for Arduino Micro) @@ -374,3 +374,4 @@ osd_lock_time=5 ; use custom main for specific core. This option should be used only inside specific core. ;main=some_binary_file + diff --git a/cfg.cpp b/cfg.cpp index 8c3cb73..4e9b7f1 100644 --- a/cfg.cpp +++ b/cfg.cpp @@ -574,6 +574,7 @@ const char* cfg_get_label(uint8_t alt) void cfg_parse() { memset(&cfg, 0, sizeof(cfg)); + cfg.composite_sync = 1; cfg.bootscreen = 1; cfg.fb_terminal = 1; cfg.controller_info = 6;