mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-22 18:55:29 +00:00
[nx] Fix typo.
This commit is contained in:
parent
47a516e4e0
commit
e1e6346628
|
@ -3,34 +3,34 @@
|
||||||
bool nx::XciHeader::isEqual(const XciHeader& other) const
|
bool nx::XciHeader::isEqual(const XciHeader& other) const
|
||||||
{
|
{
|
||||||
return ( mRomAreaStartPage == other.mRomAreaStartPage \
|
return ( mRomAreaStartPage == other.mRomAreaStartPage \
|
||||||
& mBackupAreaStartPage == other.mBackupAreaStartPage \
|
&& mBackupAreaStartPage == other.mBackupAreaStartPage \
|
||||||
& mKekIndex == other.mKekIndex \
|
&& mKekIndex == other.mKekIndex \
|
||||||
& mTitleKeyDecIndex == other.mTitleKeyDecIndex \
|
&& mTitleKeyDecIndex == other.mTitleKeyDecIndex \
|
||||||
& mRomSize == other.mRomSize \
|
&& mRomSize == other.mRomSize \
|
||||||
& mCardHeaderVersion == other.mCardHeaderVersion \
|
&& mCardHeaderVersion == other.mCardHeaderVersion \
|
||||||
& mFlags == other.mFlags \
|
&& mFlags == other.mFlags \
|
||||||
& mPackageId == other.mPackageId \
|
&& mPackageId == other.mPackageId \
|
||||||
& mValidDataEndPage == other.mValidDataEndPage \
|
&& mValidDataEndPage == other.mValidDataEndPage \
|
||||||
& mAesCbcIv == other.mAesCbcIv \
|
&& mAesCbcIv == other.mAesCbcIv \
|
||||||
& mPartitionFsHeaderAddress == other.mPartitionFsHeaderAddress \
|
&& mPartitionFsHeaderAddress == other.mPartitionFsHeaderAddress \
|
||||||
& mPartitionFsHeaderSize == other.mPartitionFsHeaderSize \
|
&& mPartitionFsHeaderSize == other.mPartitionFsHeaderSize \
|
||||||
& mPartitionFsHeaderHash == other.mPartitionFsHeaderHash \
|
&& mPartitionFsHeaderHash == other.mPartitionFsHeaderHash \
|
||||||
& mInitialDataHash == other.mInitialDataHash \
|
&& mInitialDataHash == other.mInitialDataHash \
|
||||||
& mSelSec == other.mSelSec \
|
&& mSelSec == other.mSelSec \
|
||||||
& mSelT1Key == other.mSelT1Key \
|
&& mSelT1Key == other.mSelT1Key \
|
||||||
& mSelKey == other.mSelKey \
|
&& mSelKey == other.mSelKey \
|
||||||
& mLimAreaPage == other.mLimAreaPage \
|
&& mLimAreaPage == other.mLimAreaPage \
|
||||||
& mFwVersion[0] == other.mFwVersion[0] \
|
&& mFwVersion[0] == other.mFwVersion[0] \
|
||||||
& mFwVersion[1] == other.mFwVersion[1] \
|
&& mFwVersion[1] == other.mFwVersion[1] \
|
||||||
& mAccCtrl1 == other.mAccCtrl1 \
|
&& mAccCtrl1 == other.mAccCtrl1 \
|
||||||
& mWait1TimeRead == other.mWait1TimeRead \
|
&& mWait1TimeRead == other.mWait1TimeRead \
|
||||||
& mWait2TimeRead == other.mWait2TimeRead \
|
&& mWait2TimeRead == other.mWait2TimeRead \
|
||||||
& mWait1TimeWrite == other.mWait1TimeWrite \
|
&& mWait1TimeWrite == other.mWait1TimeWrite \
|
||||||
& mWait2TimeWrite == other.mWait2TimeWrite \
|
&& mWait2TimeWrite == other.mWait2TimeWrite \
|
||||||
& mFwMode == other.mFwMode \
|
&& mFwMode == other.mFwMode \
|
||||||
& mUppVersion == other.mUppVersion \
|
&& mUppVersion == other.mUppVersion \
|
||||||
& memcmp(mUppHash, other.mUppHash, xci::kUppHashLen) \
|
&& memcmp(mUppHash, other.mUppHash, xci::kUppHashLen) \
|
||||||
& mUppId == other.mUppId);
|
&& mUppId == other.mUppId );
|
||||||
}
|
}
|
||||||
|
|
||||||
void nx::XciHeader::copyFrom(const XciHeader& other)
|
void nx::XciHeader::copyFrom(const XciHeader& other)
|
||||||
|
|
Loading…
Reference in a new issue