fix crash if npdm is not found
This commit is contained in:
parent
5a39e6a847
commit
95d49ece0d
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ namespace Ryujinx.HLE.FileSystem
|
||||||
{
|
{
|
||||||
if (Context.Process.MetaData != null)
|
if (Context.Process.MetaData != null)
|
||||||
{
|
{
|
||||||
CurrentTitleId = (long)Context.Process.MetaData?.ACI0.TitleId;
|
CurrentTitleId = Context.Process.MetaData.ACI0.TitleId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -109,7 +109,7 @@ namespace Ryujinx.HLE.HOS
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!MainProcess.MetaData.Is64Bits)
|
if ((MainProcess.MetaData?.Is64Bits).HasValue && !MainProcess.MetaData.Is64Bits)
|
||||||
{
|
{
|
||||||
throw new NotImplementedException("32-bit titles are unsupported!");
|
throw new NotImplementedException("32-bit titles are unsupported!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue