Fix issue 316 - cancelling out of the core picker causes exception
This commit is contained in:
parent
584b5feaa3
commit
be00dae474
|
@ -333,6 +333,9 @@ namespace BizHawk.Client.Common
|
||||||
core = CoreInventory.Instance[game.System];
|
core = CoreInventory.Instance[game.System];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case null:
|
||||||
|
// The user picked nothing in the Core picker
|
||||||
|
break;
|
||||||
case "SNES":
|
case "SNES":
|
||||||
if (Global.Config.SNES_InSnes9x && VersionInfo.DeveloperBuild)
|
if (Global.Config.SNES_InSnes9x && VersionInfo.DeveloperBuild)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue