Remove GSC-only Stadium data handling from make_patch.c
Some checks failed
CI / build (push) Has been cancelled

This commit is contained in:
Rangi42 2025-03-11 11:30:03 -04:00
parent cfbd67a9f5
commit 18df084f92

View File

@ -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;