Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
d0k3 committed Jan 24, 2017
1 parent 2e3237b commit b2e58da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/decryptor/xorpad.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ u32 NcchPadgen(u32 param)
PadInfo padInfo = {.setKeyY = 1, .size_mb = 0, .size_b = info->entries[i].size_b, .mode = AES_CNT_CTRNAND_MODE};
memcpy(padInfo.ctr, info->entries[i].ctr, 16);
memcpy(padInfo.filename, info->entries[i].filename, 112);
if (!padInfo.size_b) padInfo.size_b = info->entries[i].size_mb * 1024 * 1024
if (!padInfo.size_b) padInfo.size_b = info->entries[i].size_mb * 1024 * 1024;
Debug ("%2i: %s (%iMB)", i, info->entries[i].filename, info->entries[i].size_b / (1024*1024));

// workaround to still be able to process old ncchinfo.bin
Expand Down

0 comments on commit b2e58da

Please sign in to comment.