util: fix bug in update-extents printing missing files

This commit is contained in:
K. Lange 2018-10-15 17:49:17 +09:00
parent c0c25a2fe3
commit a7b78d56b5

View File

@ -218,7 +218,7 @@ class FATFile(object):
tmp = read_struct('10s',self.fat.iso.data,o+1)[0]
tmp += read_struct('12s',self.fat.iso.data,o+14)[0]
tmp += read_struct('4s',self.fat.iso.data,o+28)[0]
tmp = "".join([x for x in tmp[::2] if x != '\xFF']).strip('\x00')
tmp = "".join([chr(x) for x in tmp[::2] if x != '\xFF']).strip('\x00')
self.long_name = tmp + self.long_name
self.size += 32
o = self.offset + self.size