Compare commits

..

No commits in common. "f336df7b761196647be9338db61593a0255a4367" and "771601d0cec164fd736a804446e255e6359c6da1" have entirely different histories.

1 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,9 @@
List<Subfile> subfiles = new(); List<Subfile> subfiles = new();
for (int i = 0; i < fileCount; i++) for (int i = 0; i < fileCount; i++)
{
subfiles.Add(new()); subfiles.Add(new());
}
string path = Path.GetDirectoryName(args[0]) + "\\" + Path.GetFileNameWithoutExtension(args[0]); string path = Path.GetDirectoryName(args[0]) + "\\" + Path.GetFileNameWithoutExtension(args[0]);
Directory.CreateDirectory(path); Directory.CreateDirectory(path);
@ -27,7 +29,8 @@
class Subfile class Subfile
{ {
public string[] name = new string(br.ReadChars(32)).TrimEnd('\0').Split('\0'); public string[] name = new string(br.ReadChars(32)).TrimEnd('\0').Split('\0');
public int start = br.ReadInt32(), size = br.ReadInt32(); public int start = br.ReadInt32();
public int size = br.ReadInt32();
} }
} }
} }