From 313deab55253ee49ef3872491f6805a03b5ea36b Mon Sep 17 00:00:00 2001 From: Rangi Date: Thu, 2 Sep 2021 00:21:10 -0400 Subject: Rewrite tool png_dimensions.c, and start using common.h more --- tools/stadium.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'tools/stadium.c') diff --git a/tools/stadium.c b/tools/stadium.c index 479cccdfa..51b671f20 100644 --- a/tools/stadium.c +++ b/tools/stadium.c @@ -1,10 +1,3 @@ -#include -#include -#include -#include -#include -#include - #include "common.h" // The Game Boy cartridge header stores a global checksum at 0x014E-0x014F @@ -160,7 +153,7 @@ int main(int argc, char *argv[]) { } char *filename = argv[0]; - int filesize; + long filesize; uint8_t *file = read_u8(filename, &filesize); calculate_checksums(file, filesize, base); write_u8(filename, file, filesize); -- cgit v1.2.3