From 054efa4bdd2fa1a7bb44cf88a8828780a2a9ca7d Mon Sep 17 00:00:00 2001 From: nattthebear Date: Fri, 3 Jul 2020 18:31:21 -0400 Subject: [PATCH] Helps if you actually serialize the thing you're serializing --- src/BizHawk.Client.Common/config/ConfigExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Client.Common/config/ConfigExtensions.cs b/src/BizHawk.Client.Common/config/ConfigExtensions.cs index 264e97ea15..17ba3477ac 100644 --- a/src/BizHawk.Client.Common/config/ConfigExtensions.cs +++ b/src/BizHawk.Client.Common/config/ConfigExtensions.cs @@ -13,7 +13,7 @@ namespace BizHawk.Client.Common private static JToken Serialize(object o) { var tne = new TypeNameEncapsulator { o = o }; - return JToken.FromObject(ConfigService.Serializer)["o"]; + return JToken.FromObject(tne, ConfigService.Serializer)["o"]; } private static object Deserialize(JToken j) {