mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-30 00:10:36 +00:00
Fix stream position for zstd compression
This commit is contained in:
parent
08fee34f07
commit
717c4a499e
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ namespace Toolbox.Library
|
||||||
using (var reader = new FileReader(stream, true))
|
using (var reader = new FileReader(stream, true))
|
||||||
{
|
{
|
||||||
uint magic = reader.ReadUInt32();
|
uint magic = reader.ReadUInt32();
|
||||||
|
reader.Position = 0;
|
||||||
return magic == 0x28B52FFD || magic == 0xFD2FB528;
|
return magic == 0x28B52FFD || magic == 0xFD2FB528;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue