mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-05 17:43:54 -06:00
fix: keep one dump per exported hash record
This commit is contained in:
1 parent
d165005a78
commit
e9f9260301
4 files changed
+66
-6
No files matched your search
@@ -153,13 +153,13 @@ class Exporter(BaseExporter):
|
||||
size = fe.size()
|
||||
if size:
|
||||
parts.append(f"size {size}")
|
||||
crc = fe.hash("crc32")
|
||||
crc = fe.record_hash("crc32")
|
||||
if crc:
|
||||
parts.append(f"crc {crc.upper()}")
|
||||
md5 = fe.hash("md5")
|
||||
md5 = fe.record_hash("md5")
|
||||
if md5:
|
||||
parts.append(f"md5 {md5}")
|
||||
sha1 = fe.hash("sha1")
|
||||
sha1 = fe.record_hash("sha1")
|
||||
if sha1:
|
||||
parts.append(f"sha1 {sha1}")
|
||||
rendered.setdefault(name, f"\trom ( {' '.join(parts)} )")
|
||||
|
||||
Reference in new issue
Block a user