Skip to content

Commit

Permalink
Switch to puts for non-formatted strings
Browse files Browse the repository at this point in the history
  • Loading branch information
simontime committed Sep 25, 2018
1 parent 9303453 commit dfdc213
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ int main() {
u8 *buffer;
PlFontData font;

printf("Press A to dump fonts as ttf, or press X to dump the shared font memory.\n\n\n");
puts("Press A to dump fonts as ttf, or press X to dump the shared font memory.\n\n\n");

void closeall(u8 *mem, FILE *out) {
free(mem);
Expand All @@ -41,7 +41,7 @@ int main() {

outFile = fopen(Name, "wb");

printf("Dumping shared font memory...\n");
puts("Dumping shared font memory...\n");

buffer = malloc(MemSize * sizeof(u8));
memcpy(buffer, plGetSharedmemAddr(), MemSize);
Expand Down Expand Up @@ -95,13 +95,13 @@ int main() {
DumpFont(PlSharedFontType_ChineseTraditional, "FontChineseTraditional.ttf");
DumpFont(PlSharedFontType_KO, "FontKorean.ttf");
DumpFont(PlSharedFontType_NintendoExt, "FontNintendoExtended.ttf");
printf(SuccessStr);
puts(SuccessStr);
Done++;
}

if (kDown & KEY_X && !Done) {
DumpMem();
printf(SuccessStr);
puts(SuccessStr);
Done++;
}

Expand Down

0 comments on commit dfdc213

Please sign in to comment.