ContentServices: Handle null LocationEntry Path in VerifyContentType (#506)

When `LocationEntry.ContentPath` is `null`, we can always return `false` as it can't possibly be a valid `ContentType`
This commit is contained in:
jduncanator 2018-11-19 11:20:17 +11:00 committed by Ac_K
parent 5b24ecc170
commit 8a61955978
2 changed files with 6 additions and 0 deletions

View file

@ -78,6 +78,7 @@ namespace Ryujinx.HLE.FileSystem
{
return null;
}
return GetFullPath(MakeDirAndGetFullPath(Parts[0]), Parts[1]);
}