Skip to content

Commit 18df084

Browse files
committed
Remove GSC-only Stadium data handling from make_patch.c
1 parent cfbd67a commit 18df084

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tools/make_patch.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -358,12 +358,6 @@ struct Buffer *process_template(const char *template_filename, const char *patch
358358

359359
// The ROM checksum will always differ
360360
buffer_append(patches, &(struct Patch){0x14e, 2});
361-
// The Stadium data (see stadium.c) will always differ
362-
unsigned int rom_size = (unsigned int)xfsize("", orig_rom);
363-
if (rom_size == 128 * 0x4000) {
364-
unsigned int stadium_size = 24 + 6 + 2 + 128 * 2 * 2;
365-
buffer_append(patches, &(struct Patch){rom_size - stadium_size, stadium_size});
366-
}
367361

368362
// Fill in the template
369363
const struct Symbol *current_hook = NULL;

0 commit comments

Comments
 (0)