dont crash when opening controller config without a rom open
This commit is contained in:
parent
53cae6be86
commit
5bd70da7f1
|
@ -346,6 +346,7 @@ namespace BizHawk.MultiClient
|
||||||
}
|
}
|
||||||
private void InputConfig_Load(object sender, EventArgs e)
|
private void InputConfig_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
if(Global.Game != null)
|
||||||
switch (Global.Game.System)
|
switch (Global.Game.System)
|
||||||
{
|
{
|
||||||
case "SMS":
|
case "SMS":
|
||||||
|
|
Loading…
Reference in New Issue