mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 04:23:09 +00:00
Quick fix since appveyor is weird with modern c#
This commit is contained in:
parent
b06da55530
commit
7872502b11
1 changed files with 8 additions and 2 deletions
|
@ -299,18 +299,24 @@ namespace FirstPlugin {
|
|||
|
||||
#region Sections
|
||||
internal class BTAF {
|
||||
public (uint offset, uint size)[] FileDataArray;
|
||||
public FD[] FileDataArray;
|
||||
|
||||
public BTAF() { }
|
||||
public BTAF(BinaryDataReader reader) {
|
||||
uint numberOfFiles = reader.ReadUInt32();
|
||||
FileDataArray = new (uint, uint)[numberOfFiles];
|
||||
FileDataArray = new FD[numberOfFiles];
|
||||
|
||||
for(ulong i = 0; i < numberOfFiles; i++) {
|
||||
FileDataArray[i].offset = reader.ReadUInt32();
|
||||
FileDataArray[i].size = reader.ReadUInt32();
|
||||
}
|
||||
}
|
||||
|
||||
public class FD
|
||||
{
|
||||
public uint offset;
|
||||
public uint size;
|
||||
}
|
||||
}
|
||||
|
||||
internal class BTNF {
|
||||
|
|
Loading…
Reference in a new issue