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:
n2460 2011-11-01 02:25:10 +00:00
parent 279357adf6
commit ecf1942c1b

View File

@ -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++)