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