From 6b8b021df781a544bb522a1717499f969de42f00 Mon Sep 17 00:00:00 2001 From: nattthebear Date: Sun, 7 Jun 2020 14:55:41 -0400 Subject: [PATCH] fix crash loading snes --- src/BizHawk.Client.Common/RomLoader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Client.Common/RomLoader.cs b/src/BizHawk.Client.Common/RomLoader.cs index fe5812d922..3ad326a66f 100644 --- a/src/BizHawk.Client.Common/RomLoader.cs +++ b/src/BizHawk.Client.Common/RomLoader.cs @@ -486,7 +486,7 @@ namespace BizHawk.Client.Common } return; case "SNES": - var name = game.ForcedCore.ToLower() switch + var name = game.ForcedCore?.ToLower() switch { "snes9x" => CoreNames.Snes9X, "bsnes" => CoreNames.Bsnes,