From 45b2fcb8af16c8ddae493bf88588b31cb42ff6ac Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 1 Feb 2015 22:14:27 +0000 Subject: [PATCH] Controller Config - properly prune analog buttons that aren't in the curent configuration --- BizHawk.Client.EmuHawk/config/ControllerConfig.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Client.EmuHawk/config/ControllerConfig.cs b/BizHawk.Client.EmuHawk/config/ControllerConfig.cs index f4e65f1910..005a8de1f1 100644 --- a/BizHawk.Client.EmuHawk/config/ControllerConfig.cs +++ b/BizHawk.Client.EmuHawk/config/ControllerConfig.cs @@ -136,7 +136,7 @@ namespace BizHawk.Client.EmuHawk if (buckets[0].Count == controllerButtons.Count) { // everything went into bucket 0, so make no tabs at all - dest.Controls.Add(createpanel(settings, null, dest.Size)); + dest.Controls.Add(createpanel(settings, controllerButtons.ToList(), dest.Size)); } else {