1
0
mirror of synced 2024-11-30 18:24:39 +01:00

Remove redundant skip padding function

This commit is contained in:
JohnFiddleystein 2019-08-04 15:38:21 +01:00
parent 3011a153aa
commit 9ae15ee63c
3 changed files with 0 additions and 7 deletions

Binary file not shown.

View File

@ -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);