summaryrefslogtreecommitdiff
path: root/tools/br_ips/br_ips.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-06-23 19:41:27 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-06-23 19:41:27 -0400
commit5d78f84aedf0f0ac8892d862ed92e1aa46304319 (patch)
treebd4b36e66e8c26e41803e1e625b9fde83749784f /tools/br_ips/br_ips.c
parent8e7a1dac011e7e96d1220106c3865743f3e34175 (diff)
Remove debug prints from br_ips
Diffstat (limited to 'tools/br_ips/br_ips.c')
-rw-r--r--tools/br_ips/br_ips.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/br_ips/br_ips.c b/tools/br_ips/br_ips.c
index 140bc3891..5426e4e26 100644
--- a/tools/br_ips/br_ips.c
+++ b/tools/br_ips/br_ips.c
@@ -116,7 +116,6 @@ static void getIncbinsFromFile(struct Baserom ** incbins, size_t * num, size_t *
data = realloc(data, maxnincbins * sizeof(struct Baserom));
if (data == NULL) FATAL_ERROR("unable to reallocate incbins buffer\n");
}
- // fprintf(stderr, "DEBUG: %s:%d: 0x%x, 0x%lx\n", fname, line_n, incbinOffset, trueSize);
data[nincbins].offset = incbinOffset;
data[nincbins].size = trueSize;
incbinOffset += trueSize;
@@ -220,7 +219,6 @@ static void writePatch(const char * filename, const struct Baserom * incbins, si
if (fseek(rom, offset, SEEK_SET)) FATAL_ERROR("seek\n");
if (fread(readbuf, 1, size, rom) != size) FATAL_ERROR("read\n");
if (fwrite(readbuf, 1, size, file) != size) FATAL_ERROR("write\n");
- printf("DEBUG: 0x%x, 0x%lx\n", offset, size);
}
free(readbuf);
fwrite("EOF", 1, 3, file);