mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-22 18:55:29 +00:00
[nx] Fix indent.
This commit is contained in:
parent
e9d24e4297
commit
c42b498e19
|
@ -26,67 +26,67 @@ namespace nx
|
||||||
void exportBinary();
|
void exportBinary();
|
||||||
void importBinary(const byte_t* bytes, size_t len);
|
void importBinary(const byte_t* bytes, size_t len);
|
||||||
|
|
||||||
// variables
|
// variables
|
||||||
void clear();
|
void clear();
|
||||||
uint32_t getRomAreaStartPage() const;
|
uint32_t getRomAreaStartPage() const;
|
||||||
void setRomAreaStartPage(uint32_t startPage);
|
void setRomAreaStartPage(uint32_t startPage);
|
||||||
uint32_t getBackupAreaStartPage() const;
|
uint32_t getBackupAreaStartPage() const;
|
||||||
void setBackupAreaStartPage(uint32_t startPage);
|
void setBackupAreaStartPage(uint32_t startPage);
|
||||||
byte_t getKekIndex() const;
|
byte_t getKekIndex() const;
|
||||||
void setKekIndex(byte_t kekIndex);
|
void setKekIndex(byte_t kekIndex);
|
||||||
byte_t getTitleKeyDecIndex() const;
|
byte_t getTitleKeyDecIndex() const;
|
||||||
void setTitleKeyDecIndex(byte_t index);
|
void setTitleKeyDecIndex(byte_t index);
|
||||||
byte_t getRomSizeType() const;
|
byte_t getRomSizeType() const;
|
||||||
void setRomSizeType(byte_t romSizeType);
|
void setRomSizeType(byte_t romSizeType);
|
||||||
byte_t getCardHeaderVersion() const;
|
byte_t getCardHeaderVersion() const;
|
||||||
void setCardHeaderVersion(byte_t version);
|
void setCardHeaderVersion(byte_t version);
|
||||||
byte_t getFlags() const;
|
byte_t getFlags() const;
|
||||||
void setFlags(byte_t flags);
|
void setFlags(byte_t flags);
|
||||||
uint64_t getPackageId() const;
|
uint64_t getPackageId() const;
|
||||||
void setPackageId(uint64_t id);
|
void setPackageId(uint64_t id);
|
||||||
uint32_t getValidDataEndPage() const;
|
uint32_t getValidDataEndPage() const;
|
||||||
void setValidDataEndPage(uint32_t page);
|
void setValidDataEndPage(uint32_t page);
|
||||||
const crypto::aes::sAesIvCtr& getAesCbcIv() const;
|
const crypto::aes::sAesIvCtr& getAesCbcIv() const;
|
||||||
void setAesCbcIv(const crypto::aes::sAesIvCtr& iv);
|
void setAesCbcIv(const crypto::aes::sAesIvCtr& iv);
|
||||||
uint64_t getPartitionFsAddress() const;
|
uint64_t getPartitionFsAddress() const;
|
||||||
void setPartitionFsAddress(uint64_t address);
|
void setPartitionFsAddress(uint64_t address);
|
||||||
uint64_t getPartitionFsSize() const;
|
uint64_t getPartitionFsSize() const;
|
||||||
void setPartitionFsSize(uint64_t size);
|
void setPartitionFsSize(uint64_t size);
|
||||||
const crypto::sha::sSha256Hash& getPartitionFsHash() const;
|
const crypto::sha::sSha256Hash& getPartitionFsHash() const;
|
||||||
void setPartitionFsHash(const crypto::sha::sSha256Hash& hash);
|
void setPartitionFsHash(const crypto::sha::sSha256Hash& hash);
|
||||||
const crypto::sha::sSha256Hash& getInitialDataHash() const;
|
const crypto::sha::sSha256Hash& getInitialDataHash() const;
|
||||||
void setInitialDataHash(const crypto::sha::sSha256Hash& hash);
|
void setInitialDataHash(const crypto::sha::sSha256Hash& hash);
|
||||||
uint32_t getSelSec() const;
|
uint32_t getSelSec() const;
|
||||||
void setSelSec(uint32_t sel_sec);
|
void setSelSec(uint32_t sel_sec);
|
||||||
uint32_t getSelT1Key() const;
|
uint32_t getSelT1Key() const;
|
||||||
void setSelT1Key(uint32_t sel_t1_key);
|
void setSelT1Key(uint32_t sel_t1_key);
|
||||||
uint32_t getSelKey() const;
|
uint32_t getSelKey() const;
|
||||||
void setSelKey(uint32_t sel_key);
|
void setSelKey(uint32_t sel_key);
|
||||||
uint32_t getLimAreaPage() const;
|
uint32_t getLimAreaPage() const;
|
||||||
void setLimAreaPage(uint32_t page);
|
void setLimAreaPage(uint32_t page);
|
||||||
|
|
||||||
uint32_t getFwVerMajor() const;
|
uint32_t getFwVerMajor() const;
|
||||||
void setFwVerMajor(uint32_t ver);
|
void setFwVerMajor(uint32_t ver);
|
||||||
uint32_t getFwVerMinor() const;
|
uint32_t getFwVerMinor() const;
|
||||||
void setFwVerMinor(uint32_t ver);
|
void setFwVerMinor(uint32_t ver);
|
||||||
uint32_t getAccCtrl1() const;
|
uint32_t getAccCtrl1() const;
|
||||||
void setAccCtrl1(uint32_t acc_ctrl_1);
|
void setAccCtrl1(uint32_t acc_ctrl_1);
|
||||||
uint32_t getWait1TimeRead() const;
|
uint32_t getWait1TimeRead() const;
|
||||||
void setWait1TimeRead(uint32_t seconds);
|
void setWait1TimeRead(uint32_t seconds);
|
||||||
uint32_t getWait2TimeRead() const;
|
uint32_t getWait2TimeRead() const;
|
||||||
void setWait2TimeRead(uint32_t seconds);
|
void setWait2TimeRead(uint32_t seconds);
|
||||||
uint32_t getWait1TimeWrite() const;
|
uint32_t getWait1TimeWrite() const;
|
||||||
void setWait1TimeWrite(uint32_t seconds);
|
void setWait1TimeWrite(uint32_t seconds);
|
||||||
uint32_t getWait2TimeWrite() const;
|
uint32_t getWait2TimeWrite() const;
|
||||||
void setWait2TimeWrite(uint32_t seconds);
|
void setWait2TimeWrite(uint32_t seconds);
|
||||||
uint32_t getFwMode() const;
|
uint32_t getFwMode() const;
|
||||||
void setFwMode(uint32_t fw_mode);
|
void setFwMode(uint32_t fw_mode);
|
||||||
uint32_t getUppVersion() const;
|
uint32_t getUppVersion() const;
|
||||||
void setUppVersion(uint32_t version);
|
void setUppVersion(uint32_t version);
|
||||||
const byte_t* getUppHash() const;
|
const byte_t* getUppHash() const;
|
||||||
void setUppHash(const byte_t* hash);
|
void setUppHash(const byte_t* hash);
|
||||||
uint64_t getUppId() const;
|
uint64_t getUppId() const;
|
||||||
void setUppId(uint64_t id);
|
void setUppId(uint64_t id);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
const std::string kModuleName = "XCI_HEADER";
|
const std::string kModuleName = "XCI_HEADER";
|
||||||
|
|
Loading…
Reference in a new issue