Support for hdmi_limited=2 (16-255).

This commit is contained in:
sorgelig
2019-08-31 06:59:49 +08:00
parent 73298423f8
commit 47400adef6
3 changed files with 15 additions and 13 deletions

View File

@@ -1631,7 +1631,8 @@ void user_io_send_buttons(char force)
if (cfg.forced_scandoubler) map |= CONF_FORCED_SCANDOUBLER;
if (cfg.hdmi_audio_96k) map |= CONF_AUDIO_96K;
if (cfg.dvi) map |= CONF_DVI;
if (cfg.hdmi_limited) map |= CONF_HDMI_LIMITED;
if (cfg.hdmi_limited & 1) map |= CONF_HDMI_LIMITED1;
if (cfg.hdmi_limited & 2) map |= CONF_HDMI_LIMITED2;
if (cfg.direct_video) map |= CONF_DIRECT_VIDEO;
if ((map != key_map) || force)