From d42e938232ee38d2270c8679feb78df2bafe5d88 Mon Sep 17 00:00:00 2001 From: Aurora Wright Date: Mon, 26 Jun 2017 19:03:57 +0200 Subject: [PATCH] Restore 7.1 max module size for NATIVE_FIRM --- source/firm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/firm.c b/source/firm.c index 5010a11..fa6d409 100755 --- a/source/firm.c +++ b/source/firm.c @@ -263,7 +263,7 @@ static inline void mergeSection0(FirmwareType firmType, u32 firmVersion, bool lo //3) Read or copy the modules u8 *dst = firm->section[0].address; const char *extModuleSizeError = "The external FIRM modules are too large."; - for(u32 i = 0, dstModuleSize, maxModuleSize = firmType == NATIVE_FIRM ? 0x60000 : 0x600000; i < nbModules; i++, dst += dstModuleSize, maxModuleSize -= dstModuleSize) + for(u32 i = 0, dstModuleSize, maxModuleSize = firmType == NATIVE_FIRM ? 0x80000 : 0x600000; i < nbModules; i++, dst += dstModuleSize, maxModuleSize -= dstModuleSize) { if(loadFromStorage) {