From a3265b10dca26ce09bf704e2afceb7c329e5ecc3 Mon Sep 17 00:00:00 2001 From: Skeli Date: Fri, 24 May 2019 11:23:41 -0400 Subject: [PATCH] Unbound insertion offset --- linker.ld | 2 +- scripts/insert.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linker.ld b/linker.ld index 1317c5e..066eeba 100644 --- a/linker.ld +++ b/linker.ld @@ -1,7 +1,7 @@ OUTPUT_ARCH(arm) MEMORY { - rom : ORIGIN = (0x08000000 + 0x1f34230), LENGTH = 32M + rom : ORIGIN = (0x08000000 + 0xb00000), LENGTH = 32M ewram : ORIGIN = 0x02000000, LENGTH = 4M - 4k } diff --git a/scripts/insert.py b/scripts/insert.py index 985a5c5..6f03bce 100644 --- a/scripts/insert.py +++ b/scripts/insert.py @@ -8,7 +8,7 @@ import binascii import textwrap import sys -OFFSET_TO_PUT = 0x1f34230 +OFFSET_TO_PUT = 0xb00000 SOURCE_ROM = "BPRE0.gba" from datetime import datetime