aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/control_metadata.h
diff options
context:
space:
mode:
authorChloe Marcec <dmarcecguzman@gmail.com>2021-03-27 02:03:18 +1100
committerChloe Marcec <dmarcecguzman@gmail.com>2021-03-27 02:03:18 +1100
commitf9b1e20d52c8f01ddfeea0a17c481b0edfb0f6ec (patch)
treecbcd16b15b3e485c2523b41dee5a9e15706ca6fd /src/core/file_sys/control_metadata.h
parent7342c3cd102f35f5feae85e65996be58957d06cc (diff)
pctl: Rework how pctl works to be more accurate
Introduces the usage of compatibilities to allow it the module to be closer to how it works on hardware.
Diffstat (limited to 'src/core/file_sys/control_metadata.h')
-rw-r--r--src/core/file_sys/control_metadata.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/file_sys/control_metadata.h b/src/core/file_sys/control_metadata.h
index 403c4219ab..dd9837cf5c 100644
--- a/src/core/file_sys/control_metadata.h
+++ b/src/core/file_sys/control_metadata.h
@@ -114,6 +114,8 @@ public:
std::vector<u8> GetRawBytes() const;
bool GetUserAccountSwitchLock() const;
u64 GetDeviceSaveDataSize() const;
+ u32 GetParentalControlFlag() const;
+ const std::array<u8, 0x20>& GetRatingAge() const;
private:
RawNACP raw{};