From 540a23551447e9a650f06795ef92db23fa286d49 Mon Sep 17 00:00:00 2001 From: adelikat Date: Thu, 3 Jul 2014 16:56:57 +0000 Subject: [PATCH] use an extension as an extension instead of a static method --- .../config/N64/N64VideoPluginconfig.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/BizHawk.Client.EmuHawk/config/N64/N64VideoPluginconfig.cs b/BizHawk.Client.EmuHawk/config/N64/N64VideoPluginconfig.cs index 2c8c420f57..6fa5a6f161 100644 --- a/BizHawk.Client.EmuHawk/config/N64/N64VideoPluginconfig.cs +++ b/BizHawk.Client.EmuHawk/config/N64/N64VideoPluginconfig.cs @@ -320,11 +320,13 @@ namespace BizHawk.Client.EmuHawk ss.Glide64mk2Plugin.fast_crc = Glide64mk2_fast_crc.Checked; - ss.CoreType = EnumHelper.GetValueFromDescription( - CoreTypeDropdown.SelectedItem.ToString()); + ss.CoreType = CoreTypeDropdown.SelectedItem + .ToString() + .GetValueFromDescription(); - ss.RspType = EnumHelper.GetValueFromDescription( - RspTypeDropdown.SelectedItem.ToString()); + ss.RspType = RspTypeDropdown.SelectedItem + .ToString() + .GetValueFromDescription(); PutSettings(s); PutSyncSettings(ss);