fix some null reference exception I got while porting old HelloWorld externaltool. I dont understand any of this plumbing, so I can't describe it any better than that
This commit is contained in:
parent
25d4d6a840
commit
41c854c030
|
@ -97,7 +97,9 @@ namespace BizHawk.Client.ApiHawk
|
|||
method = mainFormClass.GetMethod(name, typeList.ToArray());
|
||||
}
|
||||
else method = mainFormClass.GetMethod(name);
|
||||
method.Invoke(clientMainFormInstance, paramList);
|
||||
|
||||
if(method != null)
|
||||
method.Invoke(clientMainFormInstance, paramList);
|
||||
}
|
||||
|
||||
private static object GetMainFormField(string name)
|
||||
|
|
Loading…
Reference in New Issue