From 18df084f92fdc7e8d144df0a7a653b92ea1edbe3 Mon Sep 17 00:00:00 2001 From: Rangi42 Date: Tue, 11 Mar 2025 11:30:03 -0400 Subject: Remove GSC-only Stadium data handling from make_patch.c --- tools/make_patch.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tools/make_patch.c') diff --git a/tools/make_patch.c b/tools/make_patch.c index 9682af39..82b018fd 100644 --- a/tools/make_patch.c +++ b/tools/make_patch.c @@ -358,12 +358,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); - if (rom_size == 128 * 0x4000) { - unsigned int stadium_size = 24 + 6 + 2 + 128 * 2 * 2; - buffer_append(patches, &(struct Patch){rom_size - stadium_size, stadium_size}); - } // Fill in the template const struct Symbol *current_hook = NULL; -- cgit v1.3.1-sl0p