summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/control_metadata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/file_sys/control_metadata.cpp')
-rw-r--r--src/core/file_sys/control_metadata.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/file_sys/control_metadata.cpp b/src/core/file_sys/control_metadata.cpp
index 04da30825..735526b1c 100644
--- a/src/core/file_sys/control_metadata.cpp
+++ b/src/core/file_sys/control_metadata.cpp
@@ -87,6 +87,10 @@ u64 NACP::GetDefaultJournalSaveSize() const {
return raw.user_account_save_data_journal_size;
}
+bool NACP::GetUserAccountSwitchLock() const {
+ return raw.user_account_switch_lock == 1;
+}
+
u32 NACP::GetSupportedLanguages() const {
return raw.supported_languages;
}