summaryrefslogtreecommitdiff
path: root/tools/br_ips/br_ips.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2019-10-12 16:35:02 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2019-10-12 16:35:02 -0400
commit31d2164c9538c598856403a2d3255448fc3c5456 (patch)
tree099360d312cfc150f960c8561ecbd2cc7fef7a29 /tools/br_ips/br_ips.c
parent11b027d13c9639c27b3576908a2030a635bcb6be (diff)
Bump baserom.ips
Diffstat (limited to 'tools/br_ips/br_ips.c')
-rw-r--r--tools/br_ips/br_ips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/br_ips/br_ips.c b/tools/br_ips/br_ips.c
index 64c454a3e..440705cab 100644
--- a/tools/br_ips/br_ips.c
+++ b/tools/br_ips/br_ips.c
@@ -53,7 +53,7 @@ static int getline(char ** lineptr, size_t * n, FILE * stream) {
static void getIncbinsFromFile(hunk_t ** hunks, size_t * num, size_t * maxnum, const char * fname, char ** strbuf, size_t * buffersize) {
// Recursively find incbinned segments and encode them as hunks.
FILE * file = fopen(fname, "r");
- if (file == NULL) FATAL_ERROR("unable to open file \"%s\" for reading\n", fname);
+ if (file == NULL) return;
hunk_t * data = *hunks;
size_t nhunks = *num;
size_t maxnhunks = *maxnum;