revert the line removing change

This commit is contained in:
Thog 2019-06-13 22:39:24 +02:00
parent 9b0187a9bd
commit eee950d6dd
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6

View file

@ -82,6 +82,7 @@ namespace Ryujinx.HLE.FileSystem.Content
if (Directory.GetFiles(directoryPath).Length > 0)
{
string ncaName = new DirectoryInfo(directoryPath).Name.Replace(".nca", string.Empty);
using (FileStream ncaFile = new FileStream(Directory.GetFiles(directoryPath)[0], FileMode.Open, FileAccess.Read))
{
Nca nca = new Nca(_device.System.KeySet, ncaFile.AsStorage());