close nca after verifying type

This commit is contained in:
emmaus 2018-11-06 18:47:42 +00:00
parent ff1e5ff083
commit 623e58b150

View file

@ -246,7 +246,13 @@ namespace Ryujinx.HLE.FileSystem.Content
Nca Nca = new Nca(Device.System.KeySet, File, false);
return Nca.Header.ContentType == ContentType;
bool ContentCheck = Nca.Header.ContentType == ContentType;
Nca.Dispose();
File.Dispose();
return ContentCheck;
}
}