mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 00:39:14 +00:00
ctrtool: tmd bug fix
This commit is contained in:
+1
-1
@@ -222,7 +222,7 @@ void cia_process(cia_context* ctx, u32 actions)
|
||||
tmd_set_offset(&ctx->tmd, ctx->offsettmd);
|
||||
tmd_set_size(&ctx->tmd, ctx->sizetmd);
|
||||
tmd_set_usersettings(&ctx->tmd, ctx->usersettings);
|
||||
tmd_process(&ctx->tmd, actions);
|
||||
tmd_process(&ctx->tmd, (actions & ~InfoFlag));
|
||||
|
||||
if (actions & VerifyFlag)
|
||||
{
|
||||
|
||||
@@ -42,12 +42,10 @@ void tmd_process(tmd_context* ctx, u32 actions)
|
||||
fseek(ctx->file, ctx->offset, SEEK_SET);
|
||||
fread(ctx->buffer, 1, ctx->size, ctx->file);
|
||||
|
||||
/*
|
||||
if (actions & InfoFlag)
|
||||
{
|
||||
tmd_print(ctx);
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user