Define table ints on the same line.

This commit is contained in:
NintenHero 2024-08-11 16:53:42 -05:00 committed by GitHub
parent d268dbd30f
commit d74961259b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,8 +14,7 @@ namespace JOYCITY_Extractor
if (new string(br.ReadChars(4)) != "PACK") if (new string(br.ReadChars(4)) != "PACK")
throw new Exception("This is not a JOYCITY pak file."); throw new Exception("This is not a JOYCITY pak file.");
int tableStart = br.ReadInt32(); int tableStart = br.ReadInt32(), tableSize = br.ReadInt32();
int tableSize = br.ReadInt32();
br.BaseStream.Position = tableStart;//We're already there, but just in case. br.BaseStream.Position = tableStart;//We're already there, but just in case.
List<Subfile> subfiles = new(); List<Subfile> subfiles = new();