Fix deadlock when trying to get a input stream for file thats not in the current title

This commit is contained in:
Maschell 2019-02-24 09:33:02 +01:00
parent 8124bb28e1
commit 73b6787c42

View File

@ -154,6 +154,7 @@ public final class DecryptionService {
public void decryptFSTEntryToStream(FSTEntry entry, OutputStream outputStream) throws IOException, CheckSumWrongException {
if (entry.isNotInPackage() || entry.getContent() == null) {
outputStream.close();
return;
}