Compare commits
2 Commits
771601d0ce
...
f336df7b76
Author | SHA1 | Date |
---|---|---|
NintenHero | f336df7b76 | |
NintenHero | 31712565cb |
|
@ -11,9 +11,7 @@
|
|||
|
||||
List<Subfile> subfiles = new();
|
||||
for (int i = 0; i < fileCount; i++)
|
||||
{
|
||||
subfiles.Add(new());
|
||||
}
|
||||
|
||||
string path = Path.GetDirectoryName(args[0]) + "\\" + Path.GetFileNameWithoutExtension(args[0]);
|
||||
Directory.CreateDirectory(path);
|
||||
|
@ -29,8 +27,7 @@
|
|||
class Subfile
|
||||
{
|
||||
public string[] name = new string(br.ReadChars(32)).TrimEnd('\0').Split('\0');
|
||||
public int start = br.ReadInt32();
|
||||
public int size = br.ReadInt32();
|
||||
public int start = br.ReadInt32(), size = br.ReadInt32();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue