From 4e6559af39eebae6d4db40f090d46722df2440a4 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Thu, 6 Jun 2024 13:08:02 +1000 Subject: [PATCH] Populate the default window scales for a few sysIDs --- src/BizHawk.Client.Common/config/Config.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/BizHawk.Client.Common/config/Config.cs b/src/BizHawk.Client.Common/config/Config.cs index d794dc2f5eb..bc39a4252c2 100644 --- a/src/BizHawk.Client.Common/config/Config.cs +++ b/src/BizHawk.Client.Common/config/Config.cs @@ -97,7 +97,13 @@ public void ResolveDefaults() public bool StackOSDMessages { get; set; } = true; - private Dictionary TargetZoomFactors { get; set; } = new(); + private Dictionary TargetZoomFactors { get; set; } = new() + { + [VSystemID.Raw.GB] = 3, + [VSystemID.Raw.GBA] = 3, + [VSystemID.Raw.GBC] = 3, + [VSystemID.Raw.N64] = 1, + }; public int GetWindowScaleFor(string sysID) => TargetZoomFactors.GetValueOrPut(sysID, static _ => 2);