From 7e2251b79572ff1a61de0c50bb81237ecabaf57f Mon Sep 17 00:00:00 2001 From: nattthebear Date: Sat, 11 Jul 2020 16:45:18 -0400 Subject: [PATCH] Fix the CoreLoadParameters <-> CoreInventory interop --- src/BizHawk.Emulation.Cores/CoreInventory.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BizHawk.Emulation.Cores/CoreInventory.cs b/src/BizHawk.Emulation.Cores/CoreInventory.cs index a4f1d41638..0855022b83 100644 --- a/src/BizHawk.Emulation.Cores/CoreInventory.cs +++ b/src/BizHawk.Emulation.Cores/CoreInventory.cs @@ -118,8 +118,8 @@ namespace BizHawk.Emulation.Cores dynamic param = Activator.CreateInstance(paramType); param.Comm = comm; param.Game = game; - param.Settings = settings; - param.SyncSettings = syncSettings; + param.Settings = (dynamic)settings; + param.SyncSettings = (dynamic)syncSettings; param.Roms.Add(new RomGameFake { RomData = rom,