From 23a5780d0d8575cde8010fcbcedf62dc5aab885e Mon Sep 17 00:00:00 2001 From: adelikat Date: Tue, 21 Jan 2020 10:01:21 -0600 Subject: [PATCH] DefaultControls - make properties instead of fields --- BizHawk.Client.Common/config/DefaultControls.cs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/BizHawk.Client.Common/config/DefaultControls.cs b/BizHawk.Client.Common/config/DefaultControls.cs index 03515f95a1..971d8cb64a 100644 --- a/BizHawk.Client.Common/config/DefaultControls.cs +++ b/BizHawk.Client.Common/config/DefaultControls.cs @@ -5,8 +5,13 @@ namespace BizHawk.Client.Common // Represents the defaults used in defctrl.json public class DefaultControls { - public Dictionary> AllTrollers = new Dictionary>(); - public Dictionary> AllTrollersAutoFire = new Dictionary>(); - public Dictionary> AllTrollersAnalog = new Dictionary>(); + public Dictionary> AllTrollers { get; set; } + = new Dictionary>(); + + public Dictionary> AllTrollersAutoFire { get; set; } + = new Dictionary>(); + + public Dictionary> AllTrollersAnalog { get; set; } + = new Dictionary>(); } }