Partially revert c42889ceef
Pretty sure it's impossible for this to be null; the entry assembly always has a location and only weird dynamic assemblies can have none. But if somehow it was, then we don't want to create a jumplist item that doesn't work!
This commit is contained in:
parent
8607f7891f
commit
9597be621a
|
@ -41,9 +41,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
{
|
||||
try
|
||||
{
|
||||
string execPath = Assembly.GetEntryAssembly()
|
||||
?.Location;
|
||||
|
||||
string execPath = Assembly.GetEntryAssembly().Location;
|
||||
dynamic ji = Activator.CreateInstance(JumpTask);
|
||||
|
||||
ji.ApplicationPath = execPath;
|
||||
|
|
Loading…
Reference in New Issue