From 06b1c75b0851a93f1069c836e11d7b88f618c84f Mon Sep 17 00:00:00 2001 From: tmpz23 <28760271+tmpz23@users.noreply.github.com> Date: Fri, 14 Jan 2022 17:31:45 +0100 Subject: [PATCH] Update gcmtool.py --- gcmtool.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gcmtool.py b/gcmtool.py index 0864ed6..a762d94 100644 --- a/gcmtool.py +++ b/gcmtool.py @@ -404,6 +404,7 @@ class Gcm: logging.info(f"Patching sys/boot.bin offset 0x{BootBin.MAXFSTLEN_OFFSET:x} with new max fst size (0x{fst_size:x})") bootbin.set_max_fst_len(fst_size) + bootbin_file.seek(0) bootbin_file.write(bootbin.data())