fix crash loading snes

This commit is contained in:
nattthebear 2020-06-07 14:55:41 -04:00
parent 71aa667b3b
commit 6b8b021df7
1 changed files with 1 additions and 1 deletions

View File

@ -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,