Check output size
This commit is contained in:
parent
04dd205956
commit
3c741cd219
@ -314,6 +314,10 @@ class BootSplash(object):
|
||||
self._sound.write(f)
|
||||
self._sound.write_ch(f)
|
||||
|
||||
print("Output size: {t}".format(t=f.tell()))
|
||||
|
||||
if f.tell() > 0x3DB:
|
||||
raise Exception("This boot splash is bigger than 987 bytes and will not work.")
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user