From 3c9fb1f61a026119c6a3c949ac2b7a1406af233a Mon Sep 17 00:00:00 2001 From: Skeli Date: Sun, 17 May 2020 18:03:36 +0300 Subject: [PATCH] Update Insertion Offset --- linker.ld | 2 +- scripts/insert.py | 2 +- scripts/make.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/linker.ld b/linker.ld index d19f2f9..73e7e81 100644 --- a/linker.ld +++ b/linker.ld @@ -1,7 +1,7 @@ OUTPUT_ARCH(arm) MEMORY { - rom : ORIGIN = (0x08000000 + 0x16c3670), LENGTH = 32M + rom : ORIGIN = (0x08000000 + 0x16c0ff0), LENGTH = 32M ewram : ORIGIN = 0x02000000, LENGTH = 4M - 4k } diff --git a/scripts/insert.py b/scripts/insert.py index 556a20f..91f9bc5 100644 --- a/scripts/insert.py +++ b/scripts/insert.py @@ -7,7 +7,7 @@ import sys from datetime import datetime import _io -OFFSET_TO_PUT = 0x16c3670 +OFFSET_TO_PUT = 0x16c0ff0 SOURCE_ROM = "Pokemon Unbound.gba" ROM_NAME = "test.gba" diff --git a/scripts/make.py b/scripts/make.py index 4f36b53..ed6180a 100644 --- a/scripts/make.py +++ b/scripts/make.py @@ -9,7 +9,7 @@ import sys ############ ROM_NAME = "Pokemon Unbound.gba" # The name of your rom -OFFSET_TO_PUT = 0x16c3670 +OFFSET_TO_PUT = 0x16c0ff0 SEARCH_FREE_SPACE = False # Set to True if you want the script to search for free space # Set to False if you don't want to search for free space as you update the engine