mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 04:23:09 +00:00
Adjustments
This commit is contained in:
parent
1a9ae89eac
commit
db49432909
1 changed files with 2 additions and 4 deletions
|
@ -180,15 +180,13 @@ namespace DKCTF
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (!WriteMetaData)
|
|
||||||
return SubData;
|
|
||||||
|
|
||||||
List<byte[]> Data = new List<byte[]>();
|
List<byte[]> Data = new List<byte[]>();
|
||||||
|
|
||||||
using (var reader = new FileReader(SubData, true))
|
using (var reader = new FileReader(SubData, true))
|
||||||
{
|
{
|
||||||
Data.Add(reader.ReadBytes((int)reader.BaseStream.Length));
|
Data.Add(reader.ReadBytes((int)reader.BaseStream.Length));
|
||||||
if (MetaPointer != null)
|
|
||||||
|
if (WriteMetaData)
|
||||||
{
|
{
|
||||||
using (var r = new FileReader(ArchiveStream, true)) {
|
using (var r = new FileReader(ArchiveStream, true)) {
|
||||||
r.SetByteOrder(true);
|
r.SetByteOrder(true);
|
||||||
|
|
Loading…
Reference in a new issue