Skip to content

Commit

Permalink
Update tools/make_patch.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Rangi42 authored Dec 27, 2024
1 parent a949a8c commit 83f4293
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/make_patch.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ struct Buffer *process_template(const char *template_filename, const char *patch
// 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;
unsigned int stadium_size = 6 + 2 + 128 * 2 * 2;
buffer_append(patches, &(struct Patch){rom_size - stadium_size, stadium_size});
}

Expand Down

0 comments on commit 83f4293

Please sign in to comment.