From 154fca34226b2493d86f6890e5582e90da2f6efc Mon Sep 17 00:00:00 2001 From: "Jang,Pyohwan" Date: Wed, 9 Sep 2026 21:51:04 +0900 Subject: [PATCH] emulationstation-standalone: read global.videooutput2 default via -master too Every other read of global.videooutput2 in this script uses -master (sees sysconfig-level board defaults, not just user overrides). This one fallback still used the plain lookup, so a board default like ODROID-M1's global.videooutput2=none was invisible here, and a second output got auto-selected anyway. Confirmed live: with the sysconfig default in place and no user override, DSI-1 kept getting auto-selected as a second output every restart. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01S6emcPYtMgjwcmPBmUt74u --- .../batocera-emulationstation/emulationstation-standalone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/batocera/emulationstation/batocera-emulationstation/emulationstation-standalone b/package/batocera/emulationstation/batocera-emulationstation/emulationstation-standalone index e5d32c0ce8a..3ff7117cac8 100755 --- a/package/batocera/emulationstation/batocera-emulationstation/emulationstation-standalone +++ b/package/batocera/emulationstation/batocera-emulationstation/emulationstation-standalone @@ -187,7 +187,7 @@ while [ -e "${REBOOT_FLAG}" ]; do fi # If screen2 is empty, take the first one found which is not screen1 if [ -z "${settings_output2}" ]; then - user_output2="$(batocera-settings-get global.videooutput2)" + user_output2="$(batocera-settings-get-master global.videooutput2)" if [ "${user_output2}" != "none" ]; then settings_output2=$(batocera-resolution listOutputs | grep -vE "^${settings_output}$" | head -1) if [ -n "${settings_output2}" ]; then