Skip to content

Commit

Permalink
removed debug printf statments
Browse files Browse the repository at this point in the history
this isn't a prototype anymore, idk why they were there
  • Loading branch information
applestash committed Aug 28, 2014
1 parent 2448dee commit 6466501
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions makerom/makerom.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ int main(int argc, char *argv[])
}
}
else{// Build Content 0
#ifdef DEBUG
printf("[DEBUG] Build NCCH0\n");
#endif
result = build_NCCH(set);
if(result < 0) {
//fprintf(stderr,"[ERROR] %s generation failed\n",set->build_ncch_type == CXI? "CXI" : "CFA");
Expand All @@ -77,9 +74,6 @@ int main(int argc, char *argv[])
}
// Make CCI
if(set->common.outFormat == CCI){
#ifdef DEBUG
printf("[DEBUG] Building CCI\n");
#endif
result = build_CCI(set);
if(result < 0) {
fprintf(stderr,"[RESULT] Failed to build CCI\n");
Expand All @@ -88,9 +82,6 @@ int main(int argc, char *argv[])
}
// Make CIA
else if(set->common.outFormat == CIA){
#ifdef DEBUG
printf("[DEBUG] Building CIA\n");
#endif
result = build_CIA(set);
if(result < 0) {
fprintf(stderr,"[RESULT] Failed to build CIA\n");
Expand All @@ -99,9 +90,6 @@ int main(int argc, char *argv[])
}
// No Container Raw CXI/CFA
else if(set->common.outFormat == CXI || set->common.outFormat == CFA){
#ifdef DEBUG
printf("[DEBUG] Outputting NCCH, because No Container\n");
#endif
FILE *ncch_out = fopen(set->common.outFileName,"wb");
if(!ncch_out) {
fprintf(stderr,"[MAKEROM ERROR] Failed to create '%s'\n",set->common.outFileName);
Expand All @@ -114,12 +102,6 @@ int main(int argc, char *argv[])
}

finish:
#ifdef DEBUG
printf("[DEBUG] Free Context\n");
#endif
free_UserSettings(set);
#ifdef DEBUG
printf("[DEBUG] Finished returning (result=%d)\n",result);
#endif
return result;
}

0 comments on commit 6466501

Please sign in to comment.