diff options
| author | Rangi42 <sylvie.oukaour+rangi42@gmail.com> | 2025-03-11 11:30:03 -0400 |
|---|---|---|
| committer | Rangi42 <sylvie.oukaour+rangi42@gmail.com> | 2025-03-11 11:30:03 -0400 |
| commit | 18df084f92fdc7e8d144df0a7a653b92ea1edbe3 (patch) | |
| tree | b17aeae3b5cee94fdbbf1a9fbfdf3decc5f5c813 /tools/make_patch.c | |
| parent | Support `<` and `>` prefixes for high and low bytes in VC patch templates (#502) (diff) | |
| download | pokeyellow-18df084f92fdc7e8d144df0a7a653b92ea1edbe3.tar.gz pokeyellow-18df084f92fdc7e8d144df0a7a653b92ea1edbe3.tar.xz pokeyellow-18df084f92fdc7e8d144df0a7a653b92ea1edbe3.zip | |
Remove GSC-only Stadium data handling from make_patch.c
Diffstat (limited to 'tools/make_patch.c')
| -rw-r--r-- | tools/make_patch.c | 6 |
1 files changed, 0 insertions, 6 deletions
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; |
