aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-04-26 15:10:46 -0500
committerGitHub <noreply@github.com>2022-04-26 16:10:46 -0400
commit1dcaede8b5e41dbec9bf3f2b18c77d1b7d2de708 (patch)
tree0191b2f14068c0ad8de49dd7331a00705cd335b0 /tools
parentAdd hSerialConnectionStatus vc_assert (#354) (diff)
downloadpokeyellow-1dcaede8b5e41dbec9bf3f2b18c77d1b7d2de708.tar.gz
pokeyellow-1dcaede8b5e41dbec9bf3f2b18c77d1b7d2de708.tar.xz
pokeyellow-1dcaede8b5e41dbec9bf3f2b18c77d1b7d2de708.zip
Remove Stadium data patch from tools/make_patch.c (#355)
Diffstat (limited to 'tools')
-rw-r--r--tools/make_patch.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/make_patch.c b/tools/make_patch.c
index 29d798f6..71c6b455 100644
--- a/tools/make_patch.c
+++ b/tools/make_patch.c
@@ -340,10 +340,6 @@ struct Buffer *process_template(const char *template_filename, const char *patch
// The ROM checksum will always differ
buffer_append(patches, &(struct Patch){0x14e, 2});
- // The Stadium data (see stadium.c) will always differ
- unsigned int rom_size = (unsigned int)xfsize("", orig_rom);
- unsigned int stadium_size = 24 + 6 + 2 + (rom_size / 0x2000) * 2;
- buffer_append(patches, &(struct Patch){rom_size - stadium_size, stadium_size});
// Fill in the template
const struct Symbol *current_hook = NULL;