mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 18:05:46 +00:00
file_sys: control_metadata: Expose device_save_data_size.
This commit is contained in:
parent
9891fcf41e
commit
f870a935d4
2 changed files with 5 additions and 0 deletions
|
@ -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{};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue