From 75cd8ded33c5d89e411ef43bd30f3e266f4f622a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 31 Oct 2025 11:40:23 +0100 Subject: [PATCH] Add a comment --- Core/Config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/Config.cpp b/Core/Config.cpp index d23a7cf8e0..15f0351f8d 100644 --- a/Core/Config.cpp +++ b/Core/Config.cpp @@ -1076,8 +1076,8 @@ static const ConfigSectionMeta sectionMeta[] = { { (char *)&g_Config, themeSettings, ARRAY_SIZE(themeSettings), "Theme" }, { (char *)&g_Config, vrSettings, ARRAY_SIZE(vrSettings), "VR" }, { (char *)&g_Config, achievementSettings, ARRAY_SIZE(achievementSettings), "Achievements" }, - { (char *)&g_Config.displayLayoutLandscape, displayLayoutSettings, ARRAY_SIZE(displayLayoutSettings), "DisplayLayout.Landscape", "Graphics" }, // We read the old settings from [Graphics]. - { (char *)&g_Config.displayLayoutPortrait, displayLayoutSettings, ARRAY_SIZE(displayLayoutSettings), "DisplayLayout.Portrait"}, + { (char *)&g_Config.displayLayoutLandscape, displayLayoutSettings, ARRAY_SIZE(displayLayoutSettings), "DisplayLayout.Landscape", "Graphics" }, // We read the old settings from [Graphics], since most people played in landscape before. + { (char *)&g_Config.displayLayoutPortrait, displayLayoutSettings, ARRAY_SIZE(displayLayoutSettings), "DisplayLayout.Portrait"}, // These we don't want to read from the old settings, since for most people, those settings will be bad. }; const size_t numSections = ARRAY_SIZE(sectionMeta);