summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2019-06-17 00:17:26 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2019-06-17 00:17:26 +0200
commit6ca20ad7ba594fd01c01e8d56e5e02d84609d9e1 (patch)
tree8fe27325135db3a1b8f7a9bf1fe68030b7a45d6f /src/core/file_sys
parentSignalled accumulated_suspended_tick_changed_event on creation based on RE (diff)
downloadyuzu-6ca20ad7ba594fd01c01e8d56e5e02d84609d9e1.tar
yuzu-6ca20ad7ba594fd01c01e8d56e5e02d84609d9e1.tar.gz
yuzu-6ca20ad7ba594fd01c01e8d56e5e02d84609d9e1.tar.bz2
yuzu-6ca20ad7ba594fd01c01e8d56e5e02d84609d9e1.tar.lz
yuzu-6ca20ad7ba594fd01c01e8d56e5e02d84609d9e1.tar.xz
yuzu-6ca20ad7ba594fd01c01e8d56e5e02d84609d9e1.tar.zst
yuzu-6ca20ad7ba594fd01c01e8d56e5e02d84609d9e1.zip
Diffstat (limited to 'src/core/file_sys')
-rw-r--r--src/core/file_sys/control_metadata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/control_metadata.cpp b/src/core/file_sys/control_metadata.cpp
index 735526b1c..f155a1341 100644
--- a/src/core/file_sys/control_metadata.cpp
+++ b/src/core/file_sys/control_metadata.cpp
@@ -88,7 +88,7 @@ u64 NACP::GetDefaultJournalSaveSize() const {
}
bool NACP::GetUserAccountSwitchLock() const {
- return raw.user_account_switch_lock == 1;
+ return raw.user_account_switch_lock != 0;
}
u32 NACP::GetSupportedLanguages() const {