From 7d719eac467ba79d86e751f6e68c4d169427b9cb Mon Sep 17 00:00:00 2001 From: d0k3 Date: Wed, 27 Sep 2017 01:53:47 +0200 Subject: [PATCH] Increase ARM9_PAYLOAD_MAX_SIZE --- source/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.c b/source/main.c index f29709c..14e2d50 100644 --- a/source/main.c +++ b/source/main.c @@ -19,7 +19,7 @@ #define PAYLOAD_PATH_LUMA "/luma/payloads" #define NETWORK_PORT 17491 -#define ARM9_PAYLOAD_MAX_SIZE 0x80000 +#define ARM9_PAYLOAD_MAX_SIZE (0x400000 - 0x200) #define ZLIB_CHUNK (16 * 1024) void write_to_file(const char* filename, u8* buf, u32 size) {