Add control for S-Video/CVBS module. Add vga_mode parameter into INI.

This commit is contained in:
Sorgelig
2023-02-08 10:22:50 +08:00
parent 4d0caf154b
commit 8d735d4e77
7 changed files with 59 additions and 13 deletions

View File

@@ -2696,9 +2696,9 @@ void user_io_send_buttons(char force)
if (kbd_reset || kbd_reset_ovr) map |= BUTTON2;
if (cfg.vga_scaler) map |= CONF_VGA_SCALER;
if (cfg.vga_sog) map |= CONF_VGA_SOG;
if (cfg.vga_sog || cfg.vga_mode_int >= 2) map |= CONF_VGA_SOG;
if (cfg.csync) map |= CONF_CSYNC;
if (cfg.ypbpr) map |= CONF_YPBPR;
if (cfg.vga_mode_int == 1) map |= CONF_YPBPR;
if (cfg.forced_scandoubler) map |= CONF_FORCED_SCANDOUBLER;
if (cfg.hdmi_audio_96k) map |= CONF_AUDIO_96K;
if (cfg.dvi_mode == 1) map |= CONF_DVI;