mirror of
https://github.com/rvtr/ctr_test_tools.git
synced 2025-06-19 00:55:31 -04:00
TWLBackupBlock:small fix
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_test_tools@40 6b0af911-cb57-b745-895f-eec5701120e1
This commit is contained in:
parent
279357adf6
commit
ecf1942c1b
@ -71,8 +71,8 @@ namespace TwlBackupBlock
|
|||||||
int encryptHeaderSize = 0;
|
int encryptHeaderSize = 0;
|
||||||
int encryptSignatureSize = 0;
|
int encryptSignatureSize = 0;
|
||||||
int contentsNum = MAX_CONTENTS;
|
int contentsNum = MAX_CONTENTS;
|
||||||
int indexPublicSave = (int)SectionIndexLegacy.PUBLIC_SAVE;
|
int indexPublicSave = (int)SectionIndex.PUBLIC_SAVE;
|
||||||
int indexSubBanner = (int)SectionIndexLegacy.SUB_BANNER;
|
int indexSubBanner = (int)SectionIndex.SUB_BANNER;
|
||||||
|
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
@ -514,7 +514,6 @@ namespace TwlBackupBlock
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO : Legacy 対応
|
|
||||||
int TMD_SIZE = (int)headerBody.fileSizes[(int)SectionIndex.TMD];
|
int TMD_SIZE = (int)headerBody.fileSizes[(int)SectionIndex.TMD];
|
||||||
int[] CONTENT_SIZE = new int[contentsNum];
|
int[] CONTENT_SIZE = new int[contentsNum];
|
||||||
for (int i = 0; i < contentsNum; i++)
|
for (int i = 0; i < contentsNum; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user