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