Remove redundant skip padding function
This commit is contained in:
parent
3011a153aa
commit
9ae15ee63c
Binary file not shown.
Binary file not shown.
@ -40,11 +40,6 @@ namespace FirstPlugin
|
||||
}
|
||||
}
|
||||
|
||||
private void SkipPadding(FileReader stream, int offset)
|
||||
{
|
||||
stream.Seek((~(offset - 1) & (stream.Position + offset - 1)) - stream.Position);
|
||||
}
|
||||
|
||||
public static Dictionary<ushort, TEX_FORMAT> FormatsTXE = new Dictionary<ushort, TEX_FORMAT>()
|
||||
{
|
||||
[0] = TEX_FORMAT.RGB5A3,
|
||||
@ -57,7 +52,6 @@ namespace FirstPlugin
|
||||
[7] = TEX_FORMAT.RGBA32,
|
||||
};
|
||||
|
||||
|
||||
public void Load(System.IO.Stream stream)
|
||||
{
|
||||
Text = FileName;
|
||||
@ -83,7 +77,6 @@ namespace FirstPlugin
|
||||
PlatformSwizzle = PlatformSwizzle.Platform_Gamecube;
|
||||
|
||||
int imageDataSize = reader.ReadInt32();
|
||||
SkipPadding(reader, 0x20);
|
||||
|
||||
reader.SeekBegin(32);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user