Moved PrefixStream class implementation to separate file.

This commit is contained in:
morkt
2015-02-26 22:07:49 +04:00
parent 74f1f1ef7b
commit 3214e05609
5 changed files with 144 additions and 113 deletions

View File

@@ -145,7 +145,7 @@ namespace GameRes.Formats.NitroPlus
}
if (enc_size == entry.Size)
return new MemoryStream (buf, false);
return new RenPy.RpaStream (buf, arc.File.CreateStream (entry.Offset+enc_size, entry.Size-enc_size));
return new PrefixStream (buf, arc.File.CreateStream (entry.Offset+enc_size, entry.Size-enc_size));
}
}
}