570.86.15

This commit is contained in:
Bernhard Stoeckner
2025-01-27 19:36:56 +01:00
parent 9d0b0414a5
commit 54d69484da
1166 changed files with 318863 additions and 182687 deletions

View File

@@ -77,10 +77,10 @@ def getbytes(filename, array):
compressed = False
if "COMPRESSION: YES" in line:
compressed = True
m = re.search("DATA SIZE \(bytes\): (\d+)", line)
m = re.search(r"DATA SIZE \(bytes\): (\d+)", line)
if m:
data_size = int(m.group(1))
m = re.search("COMPRESSED SIZE \(bytes\): (\d+)", line)
m = re.search(r"COMPRESSED SIZE \(bytes\): (\d+)", line)
if m:
compressed_size = int(m.group(1))
if "static BINDATA_CONST NvU8 " + array in line: