[Scummvm-git-logs] scummvm master -> 34e58d9abb900af2307eb58060ced450b47b1f5e

sev- sev at scummvm.org
Fri Oct 22 11:05:48 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
34e58d9abb DEVTOOLS: simplify macbinary packing a bit


Commit: 34e58d9abb900af2307eb58060ced450b47b1f5e
    https://github.com/scummvm/scummvm/commit/34e58d9abb900af2307eb58060ced450b47b1f5e
Author: eientei (log.butt at gmail.com)
Date: 2021-10-22T13:05:46+02:00

Commit Message:
DEVTOOLS: simplify macbinary packing a bit

Changed paths:
    devtools/dumper-companion.py


diff --git a/devtools/dumper-companion.py b/devtools/dumper-companion.py
index cf3da2092e..1b8eabcfcc 100755
--- a/devtools/dumper-companion.py
+++ b/devtools/dumper-companion.py
@@ -132,8 +132,7 @@ def file_to_macbin(f: machfs.File, name: ByteString) -> bytes:
     oldFlags = f.flags >> 8
     newFlags = f.flags & 0xFF
     macbin = pack(
-        ">xB63s4s4sBxHHHBxIIIIHB14xIHBB",
-        len(name),
+        ">x64p4s4sBxHHHBxIIIIHB14xIHBB",
         name,
         f.type,
         f.creator,




More information about the Scummvm-git-logs mailing list