mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-07 08:49:47 +00:00
Nitpicking
This commit is contained in:
+1
-1
@@ -589,7 +589,7 @@ void exheader_print(exheader_context* ctx)
|
|||||||
fprintf(stdout, "Savedata size: %"PRIu64"M\n", savedatasize/sizeMB);
|
fprintf(stdout, "Savedata size: %"PRIu64"M\n", savedatasize/sizeMB);
|
||||||
fprintf(stdout, "Jump id: %016"PRIx64"\n", getle64(ctx->header.systeminfo.jumpid));
|
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, "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, "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));
|
fprintf(stdout, "Ideal processor: %d %s\n", (ctx->header.arm11systemlocalcaps.flag>>0)&0x3, exheader_getvalidstring(ctx->valididealprocessor));
|
||||||
|
|||||||
+1
-1
@@ -123,7 +123,7 @@ void ncsd_print(ncsd_context* ctx)
|
|||||||
else
|
else
|
||||||
memdump(stdout, "Signature (FAIL): ", header->signature, 0x100);
|
memdump(stdout, "Signature (FAIL): ", header->signature, 0x100);
|
||||||
fprintf(stdout, "Media size: 0x%08x\n", getle32(header->mediasize));
|
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 FS type: ", header->partitionfstype, 8);
|
||||||
//memdump(stdout, "Partition crypt type: ", header->partitioncrypttype, 8);
|
//memdump(stdout, "Partition crypt type: ", header->partitioncrypttype, 8);
|
||||||
//memdump(stdout, "Partition offset/size: ", header->partitionoffsetandsize, 0x40);
|
//memdump(stdout, "Partition offset/size: ", header->partitionoffsetandsize, 0x40);
|
||||||
|
|||||||
Reference in New Issue
Block a user