close nca after verifying type
This commit is contained in:
parent
ff1e5ff083
commit
623e58b150
1 changed files with 7 additions and 1 deletions
|
@ -246,7 +246,13 @@ namespace Ryujinx.HLE.FileSystem.Content
|
||||||
|
|
||||||
Nca Nca = new Nca(Device.System.KeySet, File, false);
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue