lundump.py: only list protos if we have any

This commit is contained in:
CPunch 2022-08-11 15:52:50 -05:00
parent 4d8c78f023
commit 61ce2d416b

View File

@ -190,6 +190,7 @@ class Chunk:
for i in range(len(self.instructions)):
print("[%3d] %s" % (i, self.instructions[i].toString()))
if len(self.protos) > 0:
print("\n==== [[" + str(self.name) + "'s protos]] ====\n")
for z in self.protos:
z.print()