From 4a522263d9c99306ff8d53e7f52b325345532382 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 7 Dec 2019 11:02:17 -0600 Subject: [PATCH] Bk2ControllerAdapter - small cleanups --- BizHawk.Client.Common/movie/bk2/Bk2ControllerAdapter.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/BizHawk.Client.Common/movie/bk2/Bk2ControllerAdapter.cs b/BizHawk.Client.Common/movie/bk2/Bk2ControllerAdapter.cs index 42e1e6ccbd..b6023c297c 100644 --- a/BizHawk.Client.Common/movie/bk2/Bk2ControllerAdapter.cs +++ b/BizHawk.Client.Common/movie/bk2/Bk2ControllerAdapter.cs @@ -36,14 +36,10 @@ namespace BizHawk.Client.Common } } - // TODO: get rid of this, add a SetBool() method or something for the set access, replace get wtih IsPressed + // TODO: get rid of this, add a SetBool() method or something for the set access, replace get with IsPressed public bool this[string button] { - get - { - return _myBoolButtons[button]; - } - + get => _myBoolButtons[button]; set { if (_myBoolButtons.ContainsKey(button))