From 6a7841d4b0b16b7837541f2e9ca6f7ceef69c681 Mon Sep 17 00:00:00 2001 From: PabloMK7 Date: Mon, 15 Jan 2024 20:42:28 +0100 Subject: [PATCH] fs: Update comment in Get[This]SaveDataSecureValue (#7359) Upon further research, I found out the unknown value in FS::Get[This]SaveDataSecureValue indicates that the requesting process is a game card. I have updated the comment for future reference. --- src/core/hle/service/fs/fs_user.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/hle/service/fs/fs_user.cpp b/src/core/hle/service/fs/fs_user.cpp index 3f93f4610b..8553781845 100644 --- a/src/core/hle/service/fs/fs_user.cpp +++ b/src/core/hle/service/fs/fs_user.cpp @@ -893,7 +893,7 @@ void FS_USER::GetThisSaveDataSecureValue(Kernel::HLERequestContext& ctx) { // TODO: Implement Secure Value Lookup & Generation rb.Push(false); // indicates that the secure value doesn't exist - rb.Push(true); // seems to override checking the validity so should be true + rb.Push(true); // indicates the requesting process is a gamecard, overriding the check rb.Push(0); // the secure value } @@ -931,7 +931,7 @@ void FS_USER::GetSaveDataSecureValue(Kernel::HLERequestContext& ctx) { // TODO: Implement Secure Value Lookup & Generation rb.Push(false); // indicates that the secure value doesn't exist - rb.Push(true); // seems to override checking the validity so should be true + rb.Push(true); // indicates the requesting process is a gamecard, overriding the check rb.Push(0); // the secure value }