From 1a925d98bc2c9c6b6ab066b2b96eb15754373075 Mon Sep 17 00:00:00 2001 From: profi200 Date: Tue, 26 Aug 2014 06:08:47 +0200 Subject: [PATCH] Nitpicking --- ctrtool/exheader.c | 2 +- ctrtool/ncsd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ctrtool/exheader.c b/ctrtool/exheader.c index 33d54b3..593af09 100644 --- a/ctrtool/exheader.c +++ b/ctrtool/exheader.c @@ -589,7 +589,7 @@ void exheader_print(exheader_context* ctx) fprintf(stdout, "Savedata size: %"PRIu64"M\n", savedatasize/sizeMB); fprintf(stdout, "Jump id: %016"PRIx64"\n", getle64(ctx->header.systeminfo.jumpid)); - fprintf(stdout, "Program id: %016"PRIx64" %s\n", getle64(ctx->header.arm11systemlocalcaps.programid), exheader_getvalidstring(ctx->validprogramid)); + fprintf(stdout, "Program id: %016"PRIX64" %s\n", getle64(ctx->header.arm11systemlocalcaps.programid), exheader_getvalidstring(ctx->validprogramid)); fprintf(stdout, "Core version: 0x%X\n", getle32(ctx->header.arm11systemlocalcaps.coreversion)); fprintf(stdout, "System mode: 0x%X\n", (ctx->header.arm11systemlocalcaps.flag>>4)&0xF); fprintf(stdout, "Ideal processor: %d %s\n", (ctx->header.arm11systemlocalcaps.flag>>0)&0x3, exheader_getvalidstring(ctx->valididealprocessor)); diff --git a/ctrtool/ncsd.c b/ctrtool/ncsd.c index cf2336c..07c211f 100644 --- a/ctrtool/ncsd.c +++ b/ctrtool/ncsd.c @@ -123,7 +123,7 @@ void ncsd_print(ncsd_context* ctx) else memdump(stdout, "Signature (FAIL): ", header->signature, 0x100); fprintf(stdout, "Media size: 0x%08x\n", getle32(header->mediasize)); - fprintf(stdout, "Media id: %016"PRIX64"\n", getle64(header->mediaid)); + fprintf(stdout, "Media id: %016"PRIx64"\n", getle64(header->mediaid)); //memdump(stdout, "Partition FS type: ", header->partitionfstype, 8); //memdump(stdout, "Partition crypt type: ", header->partitioncrypttype, 8); //memdump(stdout, "Partition offset/size: ", header->partitionoffsetandsize, 0x40);