diff --git a/py/nstools/Fs/Pfs0.py b/py/nstools/Fs/Pfs0.py index 9f5e421..cb44291 100644 --- a/py/nstools/Fs/Pfs0.py +++ b/py/nstools/Fs/Pfs0.py @@ -82,6 +82,9 @@ def getStringTableSize(self): self._stringTableSize = len(stringTableNonPadded) return self._stringTableSize + def updateHashHeader(self): + pass + def getFirstFileOffset(self): return self.files[0].offset @@ -186,7 +189,6 @@ def updateHashHeader(self): if len(self.files) > 0: if self.files[0]['offset'] - headerSize > 0: stringTable += '\x00' * (self.files[0]['offset'] - headerSize - 1) - print(self.files[0]['offset'] - headerSize) h += stringTable.encode() headerHex = h.hex()