file_sys: control_metadata: Expose device_save_data_size.
This commit is contained in:
parent
6ec6cb50dd
commit
9c065c013e
|
@ -95,6 +95,10 @@ u32 NACP::GetSupportedLanguages() const {
|
||||||
return raw.supported_languages;
|
return raw.supported_languages;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
u64 NACP::GetDeviceSaveDataSize() const {
|
||||||
|
return raw.device_save_data_size;
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<u8> NACP::GetRawBytes() const {
|
std::vector<u8> NACP::GetRawBytes() const {
|
||||||
std::vector<u8> out(sizeof(RawNACP));
|
std::vector<u8> out(sizeof(RawNACP));
|
||||||
std::memcpy(out.data(), &raw, sizeof(RawNACP));
|
std::memcpy(out.data(), &raw, sizeof(RawNACP));
|
||||||
|
|
|
@ -113,6 +113,7 @@ public:
|
||||||
u32 GetSupportedLanguages() const;
|
u32 GetSupportedLanguages() const;
|
||||||
std::vector<u8> GetRawBytes() const;
|
std::vector<u8> GetRawBytes() const;
|
||||||
bool GetUserAccountSwitchLock() const;
|
bool GetUserAccountSwitchLock() const;
|
||||||
|
u64 GetDeviceSaveDataSize() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
RawNACP raw{};
|
RawNACP raw{};
|
||||||
|
|
Reference in New Issue