aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/control_metadata.cpp
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2019-06-16 19:06:33 +1000
committerDavid Marcec <dmarcecguzman@gmail.com>2019-06-16 19:06:33 +1000
commit5f5f8c634119a55f0f550a87edcbdf25f24146e2 (patch)
tree0a505fec2c232dec0945fc02159eecc9c3af087e /src/core/file_sys/control_metadata.cpp
parent00db7eb265d422fe244a3ab647d7d8ce470da022 (diff)
Impl'd IsUserAccountSwitchLocked, SetAudioOutVolume, GetAudioOutVolume & Partial impl of GetAccumulatedSuspendedTickChangedEvent
IPC-100 was changed to InitializeApplicationInfoOld instead of InitializeApplicationInfo. IPC-150 makes an indentical call to IPC-100 however does extra processing. They should not have the same name as it's quite confusing to debug.
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 04da308253..735526b1ca 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;
}