From e555fe48d232a66f1a6370d1e26bb5f1b9f45654 Mon Sep 17 00:00:00 2001 From: James Benton Date: Thu, 19 Jul 2018 08:50:48 +0100 Subject: [PATCH] elf2rpl: Set the file info section compressionLevel to 6. This is the zlib level we use for compressing sections. --- tools/elf2rpl/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/elf2rpl/main.cpp b/tools/elf2rpl/main.cpp index 2edafab0..1a167c08 100644 --- a/tools/elf2rpl/main.cpp +++ b/tools/elf2rpl/main.cpp @@ -154,7 +154,7 @@ generateFileInfoSection(ElfFile &file, info.filename = 0u; info.flags = flags; info.minVersion = 0x5078u; - info.compressionLevel = -1; + info.compressionLevel = 6; info.fileInfoPad = 0u; info.cafeSdkVersion = 0x5335u; info.cafeSdkRevision = 0x10D4Bu;