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:
nattthebear 2020-06-16 17:30:18 -04:00
parent 8607f7891f
commit 9597be621a
1 changed files with 1 additions and 3 deletions

View File

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