Populate the default window scales for a few sysIDs

This commit is contained in:
YoshiRulz 2024-06-06 13:08:02 +10:00
parent df05537ca6
commit 4e6559af39
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 7 additions and 1 deletions

View File

@ -97,7 +97,13 @@ namespace BizHawk.Client.Common
public bool StackOSDMessages { get; set; } = true;
private Dictionary<string, int> TargetZoomFactors { get; set; } = new();
private Dictionary<string, int> 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);