From 7d0c407b2f1f5e4a35d9570a3783afaf2d3f8f10 Mon Sep 17 00:00:00 2001 From: jakcron Date: Sun, 17 Apr 2022 09:55:12 +0800 Subject: [PATCH] Surface more makerom errors. --- makerom/src/makerom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/makerom/src/makerom.c b/makerom/src/makerom.c index 321f4ae..90bbcd9 100644 --- a/makerom/src/makerom.c +++ b/makerom/src/makerom.c @@ -68,7 +68,7 @@ int main(int argc, char *argv[]) result = build_NCCH(set); if(result < 0) { //fprintf(stderr,"[ERROR] %s generation failed\n",set->build_ncch_type == CXI? "CXI" : "CFA"); - fprintf(stderr,"[RESULT] Failed to build outfile\n"); + fprintf(stderr,"[RESULT] Failed to build NCCH (ret = %d)\n", result); goto finish; } } @@ -76,7 +76,7 @@ int main(int argc, char *argv[]) if(set->common.outFormat == CCI){ result = build_CCI(set); if(result < 0) { - fprintf(stderr,"[RESULT] Failed to build CCI\n"); + fprintf(stderr,"[RESULT] Failed to build CCI (ret = %d)\n", result); goto finish; } } @@ -84,7 +84,7 @@ int main(int argc, char *argv[]) else if(set->common.outFormat == CIA){ result = build_CIA(set); if(result < 0) { - fprintf(stderr,"[RESULT] Failed to build CIA\n"); + fprintf(stderr,"[RESULT] Failed to build CIA (ret = %d)\n", result); goto finish; } }