From b43e5cfc3473428aa2c2c83e47945ca2fb1e4c50 Mon Sep 17 00:00:00 2001 From: Martin Donlon Date: Fri, 20 May 2022 09:24:49 -0700 Subject: [PATCH] video: Only set scan information when in game mode (#609) --- video.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/video.cpp b/video.cpp index 74e9bcd..cb67c2d 100644 --- a/video.cpp +++ b/video.cpp @@ -973,7 +973,8 @@ static void hdmi_config() 0x49, 0xA8, // ADI required Write. 0x4C, 0x00, // ADI required Write. - 0x55, 0b00010010, // [7] must be 0!. Set RGB444 in AVinfo Frame [6:5], Set active format [4]. + 0x55, (uint8_t)(cfg.hdmi_game_mode ? 0b00010010 : 0b00010000), + // [7] must be 0!. Set RGB444 in AVinfo Frame [6:5], Set active format [4]. // AVI InfoFrame Valid [4]. // Bar Info [3:2] b00 Bars invalid. b01 Bars vertical. b10 Bars horizontal. b11 Bars both. // Scan Info [1:0] b00 (No data). b01 TV. b10 PC. b11 None.